Skip to content

Commit

Permalink
Fix recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Mar 5, 2024
1 parent 53a8389 commit 4e4fedf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions artifacts/k8s_galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@
- name: Delete CreateContainerConfigError pods
command: kubectl delete pods -n {{ NAMESPACE }} --field-selector="status.phase=Pending"
register: error_pods
changed_when: error_pods.stdout_lines | length > 1
changed_when: error_pods.stdout_lines | length > 0
retries: 5
delay: 120
until: error_pods.stdout_lines | length > 1
until: error_pods.stdout_lines | length == 0

- fail:
msg: "Error waiting for pods to be ready"
when: error_pods.stdout_lines | length > 1
when: error_pods.stdout_lines | length > 0

0 comments on commit 4e4fedf

Please sign in to comment.