]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ansible: shorten default control_path 1512/head
authorSébastien Han <seb@redhat.com>
Thu, 11 May 2017 06:57:53 +0000 (08:57 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 11 May 2017 06:59:52 +0000 (08:59 +0200)
Default ansible control_path option is too long, so we shorten it by
changing the ansible.cfg file.

For more info see: https://github.com/ansible/ansible/issues/11536
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1447569
Signed-off-by: Sébastien Han <seb@redhat.com>
ansible.cfg

index b989d6acb5a1279a0f165728b1b1ec78f8f8a7b7..8b8868cc6f3c57827fb49183e2ecaa26eb9d457c 100644 (file)
@@ -4,3 +4,6 @@ action_plugins = plugins/actions
 roles_path = ./roles
 # Be sure the user running Ansible has permissions on the logfile
 log_path = /var/log/ansible.log
+
+[ssh_connection]
+control_path = %(directory)s/%%h-%%r # see: https://github.com/ansible/ansible/issues/11536