I'm trying to gather file stats of the sudoers file from a list of hosts 
and put the the stats in individual files on the local machine.
I found doing this with the ansible command is fairly easy...

ansible all -i hosts -u root -k -m stat -a "path=/etc/sudoers" -t 
/home/rromanu/LOG/FileInfo

However I have been struggling to find the best way to do this in an 
ansible playbook. 
Any and all advice would be greatly appreciated. 

Thank You in advance!

-- 
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/713dcd56-e016-42e7-bec9-68be64fba352%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to