]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ansible.cfg: change log_path to directory used by fact_caching_connection
authorPatrick C. F. Ernzer <pcfe@pcfe.net>
Wed, 16 Jan 2019 22:40:27 +0000 (23:40 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Tue, 5 Feb 2019 13:53:28 +0000 (13:53 +0000)
Since fact_caching_connection uses a directory in $HOME already, write the
ansible.log to the same directory.

Fixes: #3509
Signed-off-by: Patrick C. F. Ernzer <pcfe@redhat.com>
ansible.cfg

index a2b970de2e812a32442bf09f7298fa3c317a2e6f..9cfa67788be2980ef683fe882f1229ebedcfbfea 100644 (file)
@@ -7,7 +7,7 @@ action_plugins = plugins/actions
 callback_plugins = plugins/callback
 roles_path = ./roles
 # Be sure the user running Ansible has permissions on the logfile
-log_path = /var/log/ansible.log
+log_path = $HOME/ansible/ansible.log
 
 forks = 20
 host_key_checking = False