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