From b5378cc536a27897a866fad93ecdcc6442245a84 Mon Sep 17 00:00:00 2001 From: nicoo Date: Thu, 5 Jul 2018 13:57:39 +0200 Subject: [PATCH] ansible.cfg: Add setting forks & error_on_undefined_vars --- ansible/ansible.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 4c457eb..2e674c0 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -5,6 +5,13 @@ 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 -- 1.7.10.4