Skip to content

Commit

Permalink
[debug] Add a pod list for the namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
elfiesmelfie committed Sep 23, 2024
1 parent facbf33 commit f1c18a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
- name: tmp Get the list of pods in the namespace

Check failure on line 2 in roles/common/tasks/main.yml

View workflow job for this annotation

GitHub Actions / build

name[casing]

All names should start with an uppercase letter.

Check failure on line 2 in roles/common/tasks/main.yml

View workflow job for this annotation

GitHub Actions / build

no-changed-when

Commands should not change things if nothing needs doing.

Check failure on line 2 in roles/common/tasks/main.yml

View workflow job for this annotation

GitHub Actions / build

name[casing]

All names should start with an uppercase letter.

Check failure on line 2 in roles/common/tasks/main.yml

View workflow job for this annotation

GitHub Actions / build

no-changed-when

Commands should not change things if nothing needs doing.
ansible.builtin.shell:
cmd: |
oc get pods -n {{ common_pod_namespace }}
- name: "Verify pod - {{ common_pod_test_id }}"
when:
- common_pod_list is defined
Expand Down

0 comments on commit f1c18a6

Please sign in to comment.