summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible.cfg b/ansible.cfg
index fac3b72..09c8745 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -22,23 +22,23 @@ callback_plugins = ./lib/callback_plugins
connection_plugins = ./lib/connection_plugins
lookup_plugins = ./lib/lookup_plugins
vars_plugins = ./lib/vars_plugins
# retry files
# When a playbook fails by default a .retry file will be created in ~/
# You can disable this feature by setting retry_files_enabled to False
# and you can change the location of the files by setting retry_files_save_path
retry_files_enabled = False
#retry_files_save_path = ~/.ansible-retry
[privilege_escalation]
become=True
become_method=sudo
#become_user=root
become_ask_pass=True
[ssh_connection]
-control_path = ~/.ssh/S.ansible-%%C
+control_path = ${XDG_RUNTIME_DIR}/ssh-ansible-%%C
ssh_args = -oHashKnownHosts=no -oUserKnownHostsFile=./certs/ssh_known_hosts -oStrictHostKeyChecking=yes -oControlMaster=auto -oControlPersist=60s
pipelining = True