# Reboot wait for port to come available

**URL:** <https://forum.ansible.com/t/reboot-wait-for-port-to-come-available/31527>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [October 23, 2019, 2:07pm UTC](https://forum.ansible.com/t/reboot-wait-for-port-to-come-available/31527 "2019-10-23T14:07:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [October 23, 2019, 2:07pm UTC](https://forum.ansible.com/t/reboot-wait-for-port-to-come-available/31527/1 "2019-10-23T14:07:33Z")

</div>

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.
