Skip to content

Instantly share code, notes, and snippets.

@nleiva
Created July 9, 2020 13:41
Show Gist options
  • Save nleiva/024788da51340d9fca28d77209aa80a2 to your computer and use it in GitHub Desktop.
Save nleiva/024788da51340d9fca28d77209aa80a2 to your computer and use it in GitHub Desktop.
- name: Wait until we can SSH to the target from the Test Host
wait_for:
host: "{{ ansible_host }}"
port: 22
state: started
timeout: 30
delegate_to: "{{ test_host }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment