Skip to content

Commit

Permalink
improve config
Browse files Browse the repository at this point in the history
  • Loading branch information
DO1JLR committed May 8, 2021
1 parent d752ba0 commit ee6da01
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
[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

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

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

0 comments on commit ee6da01

Please sign in to comment.