ansible.cfg: Add setting forks & error_on_undefined_vars
[noc.git] / ansible / ansible.cfg
1 [defaults]
2 inventory = ./hosts.ini
3 roles_path = ./roles:../roles
4 log_path = ./log
5 nocows=1
6 vault_password_file = ./gpg/get-vault-pass.sh
7
8 # Error-out when encountering an undefined variable
9 # See https://docs.ansible.com/ansible/latest/intro_configuration.html#error-on-undefined-vars
10 error_on_undefined_vars = True
11
12 # Run more tasks in parallel
13 forks = 50
14
15 gathering = smart
16 fact_caching = jsonfile
17 fact_caching_connection = ./.cache/facts
18 fact_caching_timeout = 7200
19
20 var_compression_level = 9
21
22 timeout=30
23
24 [ssh_connection]
25 pipelining = True
26 ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s