From: Sébastien Han Date: Tue, 25 Apr 2017 08:10:09 +0000 (+0200) Subject: ansible: add logging path X-Git-Tag: v2.3.0rc1~30^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6a69fa9495ffaf16d9aa5b862751ceb2c87bdc8f;p=ceph-ansible.git ansible: add logging path 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 --- diff --git a/ansible.cfg b/ansible.cfg index b41491453..b989d6acb 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -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