Update update.yml
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
- name: Ensure SSH is reachable (skip host if not)
|
- name: Ensure SSH is reachable (skip host if not)
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
wait_for:
|
wait_for:
|
||||||
host: "{{ inventory_hostname }}"
|
host: "{{ ansible_host | default(inventory_hostname) }}"
|
||||||
port: 22
|
port: 22
|
||||||
timeout: 5
|
timeout: 5
|
||||||
register: ssh_check
|
register: ssh_check
|
||||||
|
|||||||
Reference in New Issue
Block a user