For some reason this wait for is not working:
- name: stop
shell: /opt/tools/shutdown.sh
wait_for
port=8009
state=stopped
delay=15
timeout=300
When running this in a playbook the playbook finishes immediately. I cannot
for the life of me figure out why as port 8009 is open for a significant
amount of time after the shell is executed.
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/fc3d33a3-cef3-4734-9d45-c0d50dac01ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.