From ee6da017d8d8e6ef8085adb7172ac5f0d0df04a9 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 9 May 2021 01:30:42 +0200 Subject: [PATCH] improve config --- ansible.cfg | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index 889c7cf..be1fe6e 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,8 +1,8 @@ [defaults] inventory = ./hosts.ini remote_user = ansible -retry_files_enabled = False -nocows = True +retry_files_enabled = false +nocows = true log_path = $HOME/.ansible/ansible.log @@ -10,9 +10,7 @@ forks = 20 gathering = smart fact_caching = jsonfile fact_caching_connection = $HOME/.ansible/facts -host_key_checking = False -callback_whitelist = profile_tasks -stdout_callback = yaml +host_key_checking = false interpreter_python = /usr/bin/python3 @@ -21,12 +19,12 @@ vault_password_file =./.vault [ssh_connection] control_path = %(directory)s/%%h-%%r-%%p ssh_args = -o StrictHostKeyChecking=accept-new -o ControlMaster=auto -o ControlPersist=600s -pipelining = True +pipelining = true retries = 10 [privilege_escalation] -become=Yes -become_method=sudo -become_user=root -become_ask_pass=False +become = true +become_method = sudo +become_user = root +become_ask_pass = false