changes
This commit is contained in:
3
ping.yml
3
ping.yml
@ -9,13 +9,12 @@
|
|||||||
ansible.builtin.wait_for_connection:
|
ansible.builtin.wait_for_connection:
|
||||||
timeout: 3
|
timeout: 3
|
||||||
|
|
||||||
- name: Ping target hosts
|
- name: Test target host connectivity
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: whoami
|
cmd: whoami
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: ping_check
|
register: ping_check
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
# ignore_unreachable: true
|
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
- name: Clear host errors
|
- name: Clear host errors
|
||||||
|
Reference in New Issue
Block a user