From 6a69fa9495ffaf16d9aa5b862751ceb2c87bdc8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Tue, 25 Apr 2017 10:10:09 +0200 Subject: [PATCH] ansible: add logging path MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- ansible.cfg | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5