logging in the client

26 views
Skip to first unread message

sabarinath g

unread,
Aug 30, 2016, 6:48:58 AM8/30/16
to Ansible Project
Hi,

    I wanted to know Does ansible keep record things  execute on client by generating any sort of logs in the client ..so later i can go back that and see what changes has been made in particular to that host.

      i believe some sort of directives may be configured on file,but i'm running out of time to deep dive now.Hope i will get your input.



 

Brian Coca

unread,
Sep 20, 2016, 11:34:49 AM9/20/16
to ansible...@googlegroups.com
Ansible will log to syslog or systemd, depending on system.

The amount of logging, can be controlled through ansible.cfg or using the no_log directive to disable it for a task/play.


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

Yorick P

unread,
Sep 20, 2016, 2:31:47 PM9/20/16
to Ansible Project
If you run a playbook, you can also use the --diff options, to see what changes. More info see http://docs.ansible.com/ansible/playbooks_checkmode.html#showing-differences-with-diff
Reply all
Reply to author
Forward
0 new messages