]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ansible: add logging path 1468/head
authorSébastien Han <seb@redhat.com>
Tue, 25 Apr 2017 08:10:09 +0000 (10:10 +0200)
committerSébastien Han <seb@redhat.com>
Tue, 25 Apr 2017 08:10:09 +0000 (10:10 +0200)
Ability to log ansible plays in a log file. Default location is
/var/log/ansible.log
Be sure the user running Ansible has permissions on the logfile.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1445065
Signed-off-by: Sébastien Han <seb@redhat.com>
ansible.cfg

index b4149145307a6b95e5cb28d2f2ad22fa6d26e179..b989d6acb5a1279a0f165728b1b1ec78f8f8a7b7 100644 (file)
@@ -2,3 +2,5 @@
 ansible_managed = Please do not change this file directly since it is managed by Ansible and will be overwritten
 action_plugins = plugins/actions
 roles_path = ./roles
+# Be sure the user running Ansible has permissions on the logfile
+log_path = /var/log/ansible.log