X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=ansible%2Fansible.cfg;h=2e674c091a79582f9f45e77e304e9c78d2bcf749;hb=b5378cc536a27897a866fad93ecdcc6442245a84;hp=9621dfc55ac42dead6d0c4a8d6bc9d6ccce5808e;hpb=cec549dd24d5da3226ff6816f14992f990992036;p=noc.git diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 9621dfc..2e674c0 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -1,10 +1,22 @@ [defaults] -inventory = ./hosts +inventory = ./hosts.ini +roles_path = ./roles:../roles 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 +fact_caching_connection = ./.cache/facts +fact_caching_timeout = 7200 + var_compression_level = 9 timeout=30