From 1736d1a60f0145b63dc56550ca47f905cb28bc32 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 5 Mar 2016 19:01:28 +0200 Subject: [PATCH] - Added some more global Ansible defaults as well as some commented out options for reference. --- .ansible.cfg | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.ansible.cfg b/.ansible.cfg index 5fe30f2..a67e58b 100644 --- a/.ansible.cfg +++ b/.ansible.cfg @@ -1,3 +1,22 @@ [defaults] deprecation_warnings = True +gathering = smart +fact_caching = jsonfile +fact_caching_connection = /tmp/ansible_fact_cache +fact_caching_timeout = 86400 +vault_password_file = ~/.ansible-vault +#host_key_checking = False +forks = 5 +inventory = inventory +#sudo_exe = sudo # OpenBSD uses doas from 5.8. +retry_files_save_path = /tmp/ansible_retry + +[ssh_connection] pipelining = True +control_path=/tmp/ssh-%%h + +[privilege_escalation] +become = True +become_method = sudo +become_user = root +become_ask_pass = False -- GitLab