Ansible - Log

Table of Contents


The log is off by default


Ansible - Conf

cat /etc/ansible/ansible.cfg | grep -i log
# logging is off by default unless this path is defined
# if so defined, consider logrotate
#log_path = /var/log/ansible.log
# if the *module* considers an argument to be no_log at the time that the
# stdout from ansible-playbook (or you have manually specified no_log in your
# want, for example, a notification or logging callback to also apply to
# prevents logging of task data, off by default
#no_log = False
# prevents logging of tasks, but only on the targets, data is still logged on the master/controller
#no_target_syslog = False

Powered by ComboStrap