Hi,
I use the wait_for in a playbook in order to wait until a file is present,
but this doesn't work, e.g.
- name: Wait for remote host
wait_for: host={{ floating_ip }} path="C:\\Temp\\status.txt"
state=present
When I use the wait_for module for the winrm port, then it works fine:
- name: Wait for remote host
wait_for: host={{ floating_ip }} port=5986 state=started
Any idea, how to wait in Windows for a file until it is present?
Thanks in advance!
KR,
Stavros
--
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/a9764fa7-3250-4e75-a1f3-059d37efe415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.