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