On 23.10.2019 15:52, 'Chris Bidwell - NOAA Federal' via Ansible Project wrote:
Doesn't this use the ansible server running the playbook to check if the
port is open?

No, since host is server2 the wait_for module will run on that host.
You would need connection: local, delegate_to: localhost or hosts: localhost to make it run on Ansible server aka Ansible controller.

--
Kai Stian Olstad

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/13cb059721654234d85686b5937f6a82%40olstad.com.

Reply via email to