add ansible config
This commit is contained in:
parent
b8f061009a
commit
2d3af2f7bc
1 changed files with 38 additions and 0 deletions
38
ansible.cfg
Normal file
38
ansible.cfg
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Ansible configuration, copy from the AURORE config.
|
||||||
|
|
||||||
|
[defaults]
|
||||||
|
|
||||||
|
# Do not create .retry files
|
||||||
|
retry_files_enabled = False
|
||||||
|
|
||||||
|
# Use inventory
|
||||||
|
inventory = ./hosts
|
||||||
|
|
||||||
|
# Custom header in templates
|
||||||
|
ansible_managed = Ansible managed, modified on %Y-%m-%d %H:%M:%S by {uid}
|
||||||
|
|
||||||
|
# Do not use cows (with cowsay)
|
||||||
|
nocows = 1
|
||||||
|
|
||||||
|
# Do more parallelism
|
||||||
|
forks = 15
|
||||||
|
|
||||||
|
# Some SSH connection will take time
|
||||||
|
timeout = 60
|
||||||
|
|
||||||
|
[privilege_escalation]
|
||||||
|
|
||||||
|
# Use sudo to get priviledge access
|
||||||
|
become = True
|
||||||
|
|
||||||
|
# Ask for password
|
||||||
|
become_ask_pass = True
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
|
||||||
|
# TO know what changed
|
||||||
|
always = yes
|
||||||
|
|
||||||
|
|
||||||
|
[ssh_connection]
|
||||||
|
pipelining = True
|
Loading…
Reference in a new issue