mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
improve config
This commit is contained in:
parent
d752ba0e3d
commit
ee6da017d8
1 changed files with 8 additions and 10 deletions
14
ansible.cfg
14
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 = true
|
||||
become_method = sudo
|
||||
become_user = root
|
||||
become_ask_pass=False
|
||||
become_ask_pass = false
|
||||
|
||||
|
|
Loading…
Reference in a new issue