]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ansible: add logging path
authorSébastien Han <seb@redhat.com>
Tue, 25 Apr 2017 08:10:09 +0000 (10:10 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 15 May 2017 14:27:25 +0000 (16:27 +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>
(cherry picked from commit 6a69fa9495ffaf16d9aa5b862751ceb2c87bdc8f)
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