Use serial: 1
to process one host at a time, then use the wait_for
module:
- name: Wait until the string "completed" is in the file /tmp/foo before continuing
wait_for:
path: /tmp/foo
search_regex: completed
Use serial: 1
to process one host at a time, then use the wait_for
module:
- name: Wait until the string "completed" is in the file /tmp/foo before continuing
wait_for:
path: /tmp/foo
search_regex: completed