ansible/ansible.cfg

55 lines
933 B
INI

# Ansible configuration
[defaults]
# Do not create .retry files
retry_files_enabled = False
# Generate inventory
#inventory = ./scripts/inventory_re2o.py
inventory = ./hosts
# Custom header in templates
# ansible_managed = Ansible managed, see https://gitlab.crans.org/nounous/ansible
# 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
[ssh_connection]
pipelining = True
retries = 3
[diff]
# TO know what changed
always = yes
[re2o]
api_hostname = intranet.crans.org
# Whether or not using vault_cranspasswords
use_cpasswords = True
# Specify cache plugin for re2o API. By default, cache nothing
cache = jsonfile
# Time in second before the cache expired. 0 means never expire cache.
# Default is 120 seconds.
timeout = 120