projects
/
noc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ansible.cfg: Add setting forks & error_on_undefined_vars
[noc.git]
/
ansible
/
ansible.cfg
diff --git
a/ansible/ansible.cfg
b/ansible/ansible.cfg
index
3ea1456
..
2e674c0
100644
(file)
--- a/
ansible/ansible.cfg
+++ b/
ansible/ansible.cfg
@@
-1,12
+1,20
@@
[defaults]
inventory = ./hosts.ini
[defaults]
inventory = ./hosts.ini
+roles_path = ./roles:../roles
log_path = ./log
nocows=1
vault_password_file = ./gpg/get-vault-pass.sh
log_path = ./log
nocows=1
vault_password_file = ./gpg/get-vault-pass.sh
+# Error-out when encountering an undefined variable
+# See https://docs.ansible.com/ansible/latest/intro_configuration.html#error-on-undefined-vars
+error_on_undefined_vars = True
+
+# Run more tasks in parallel
+forks = 50
+
gathering = smart
fact_caching = jsonfile
gathering = smart
fact_caching = jsonfile
-fact_caching_connection = ./facts
+fact_caching_connection = ./.cache/facts
fact_caching_timeout = 7200
var_compression_level = 9
fact_caching_timeout = 7200
var_compression_level = 9