1
0
Fork 0
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:
L3D 2021-05-09 01:30:42 +02:00
parent d752ba0e3d
commit ee6da017d8
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -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