2019-07-22 20:57:32 +02:00
|
|
|
# Ansible configuration
|
2019-02-19 11:27:37 +01:00
|
|
|
|
|
|
|
[defaults]
|
|
|
|
|
2021-11-27 22:56:00 +01:00
|
|
|
# Explicitely redefined some defaults to make subfolder execution work
|
|
|
|
roles_path = ./roles
|
|
|
|
|
2019-07-22 19:17:38 +02:00
|
|
|
# Do not create .retry files
|
|
|
|
retry_files_enabled = False
|
|
|
|
|
|
|
|
# Use inventory
|
2019-02-19 11:27:37 +01:00
|
|
|
inventory = ./hosts
|
|
|
|
|
|
|
|
# Custom header in templates
|
2019-07-22 19:17:38 +02:00
|
|
|
ansible_managed = Ansible managed, modified on %Y-%m-%d %H:%M:%S by {uid}
|
2019-02-25 13:05:31 +01:00
|
|
|
|
2019-02-19 11:27:37 +01:00
|
|
|
# Do not use cows (with cowsay)
|
|
|
|
nocows = 1
|
|
|
|
|
2019-04-07 17:00:29 +02:00
|
|
|
# Do more parallelism
|
|
|
|
forks = 15
|
|
|
|
|
2019-07-22 19:17:38 +02:00
|
|
|
# Some SSH connection will take time
|
|
|
|
timeout = 60
|
|
|
|
|
2019-02-19 11:27:37 +01:00
|
|
|
[privilege_escalation]
|
|
|
|
|
|
|
|
# Use sudo to get priviledge access
|
|
|
|
become = True
|
|
|
|
|
|
|
|
# Ask for password
|
|
|
|
become_ask_pass = True
|
|
|
|
|
|
|
|
[diff]
|
|
|
|
|
|
|
|
# TO know what changed
|
|
|
|
always = yes
|
|
|
|
|
2020-08-02 12:14:57 +02:00
|
|
|
|
|
|
|
[ssh_connection]
|
|
|
|
pipelining = True
|