Auditing and Reporting on Hosts

45 views
Skip to first unread message

johhue

unread,
Mar 1, 2016, 1:51:20 PM3/1/16
to Ansible Project
Hello, is there an effort to enhance Ansible to collect and synthesize auditing and reporting of remote hosts?

I would like to see that all my remote hosts have the same files.

We have a standby site and before we fail over to it, would like to do a quick "sanity" check that the files are 100% alike.

Do not want to scramble and apply patches in "dry run" mode as a way do this.

Could also check rpm inventory.

Perhaps a module called compare_systems?

Rsync is too clunky especially if you have like 10 hosts, you have to iterate them all against one host.


Brian Coca

unread,
Mar 1, 2016, 2:11:15 PM3/1/16
to ansible...@googlegroups.com
tower already implements a lot of this (disclaimer, they pay my bills).

----------
Brian Coca

johhue

unread,
Mar 1, 2016, 4:06:01 PM3/1/16
to Ansible Project
Thanks for the quick reply. However we want something quick and dirty we can implement as a playbook from the command line using an "audit" type module.
Something like: compare_filesystems.

Running from server A, does the /app directory across server B,C,D,E all match file checksums/perms/ownership?

I don't want the requirement that something be deployed under the auspices of Ansible Tower in order to produce these results.

Ansible Tower would be considered AFTER we see the command line stuff meets our needs :)

John
Reply all
Reply to author
Forward
0 new messages