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 31ffcc7 commit ee6e8fc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions molecule/default/converge.yml
Expand Up @@ -31,9 +31,7 @@
ceph health detail | grep 'HEALTH_OK'
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 All @@ -51,9 +49,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

0 comments on commit ee6e8fc

Please sign in to comment.