Import the old “create-users” group
[noc.git] / ansible / ansible.cfg
1 [defaults]
2 # Setup paths for crucial files (inventory, roles, logs, vault key)
3 inventory = ./hosts.ini
4 roles_path = ./roles:../roles
5 log_path = ./log
6 vault_password_file = ./gpg/get-vault-pass.sh
7
8 # Disable an annoying easter-egg
9 nocows = 1
10
11 # Error-out when encountering an undefined variable
12 # See https://docs.ansible.com/ansible/latest/intro_configuration.html#error-on-undefined-vars
13 error_on_undefined_vars = True
14
15 # Run more tasks in parallel
16 forks = 50
17
18 # Cache host facts for 2h
19 gathering = smart
20 fact_caching = jsonfile
21 fact_caching_connection = ./.cache/facts
22 fact_caching_timeout = 7200
23 var_compression_level = 9
24
25 # Increase the timeout, to deal with going through jump hosts
26 timeout = 30
27
28 # Use SSH pipelining and multiplexing to minimize the number of extra
29 # connections and round-trips.
30 [ssh_connection]
31 pipelining = True
32 ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s