On 29.06.2016 16:53, MJP wrote:
We would like to run an ansible playbook to output what servers are in need
of a reboot.  I now you can check to see if /var/run/reboot-required is
listed, but i'm not sure how to output it.

Any help would be appreciated.

Have you checked the examples in the documentation for the stat module
https://docs.ansible.com/ansible/stat_module.html#examples

Maybe that solves your need.

--
Kai Stian Olstad

--
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/48164237555dd149296b2f758f1c39c6%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to