I have a fairly typical set of tasks, which basically ensure that given packages are installed and up to date. I can run the playbook several times and ansible is smart enough to check whether the packages are already installed before trying to install them again. Is there a way to tie in a conditional restart similar to the way salt has watches? Basically I want to restart the server only when a change has been made.
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d6aaf35a-87eb-448e-9c33-9e67dd9c435c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.