[ansible-project] Re: validate a file's content and reporting

2017-09-07 Thread 'Ask 21' via Ansible Project
Thanks to all, i wasn't searching for authorized_key module but as Dick said - check is the option i prefer. Also thanks for the hint about authorized_keys - still found some servers where users added their key in that file. regards Stefan Am Mittwoch, 6. September 2017 12:43:21 UTC+2 schrieb

[ansible-project] validate a file's content and reporting

2017-09-06 Thread 'Ask 21' via Ansible Project
Hi everybody, does anybody know what will be the best approach to read and validate a remote-files content? background: I'm managing linux servers with ansible and have to validate on hundrets of linux servers if any user with sudo permission has changed the content of /root/.ssh/authorized_ke