Skip to content

Commit

Permalink
https://github.com/ansible/ansible-lint/pull/2626
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed Nov 2, 2022
1 parent 8dbdced commit d369d67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
kubectl get --raw='/readyz?verbose' | grep 'check passed'
args:
executable: "/bin/bash"
loop: "{{ ansible_play_hosts }}"
delegate_to: "{{ item }}"
run_once: true
when: inventory_hostname == ansible_play_hosts[0]
register: result
changed_when: result is not succeeded
until: result is succeeded
Expand Down
4 changes: 1 addition & 3 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
kubectl get pod --all-namespaces | egrep -e 'ingress-nginx\s+nginx-ingress-controller-\S+\s+[0-9]+\/[0-9]+\s+Running'
args:
executable: "/bin/bash"
loop: "{{ ansible_play_hosts }}"
delegate_to: "{{ item }}"
run_once: true
when: inventory_hostname == ansible_play_hosts[0]
register: result
changed_when: result is not succeeded
until: result is succeeded
Expand Down

0 comments on commit d369d67

Please sign in to comment.