On 27.05.16 21:28 Francisco Lopes wrote:

> Is it possible to add a condition on the wait task in order to skip it if a
> reboot was not required?

Put it into a handler instead of as a task. Notify the handler when
changes occur.

https://docs.ansible.com/ansible/playbooks_intro.html#handlers-running-operations-on-change

Johannes

-- 
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/5748A926.7030403%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to