From: Christian Pointner Date: Sat, 21 Apr 2018 20:01:22 +0000 (+0200) Subject: ansible: enable facts caching X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=b8bcef503229b3d6463133f37f7eb40e4b36ac56;p=noc.git ansible: enable facts caching --- diff --git a/ansible/.gitignore b/ansible/.gitignore index 3b3711f..b0e2918 100644 --- a/ansible/.gitignore +++ b/ansible/.gitignore @@ -3,3 +3,4 @@ *.pyc *.retry .*.sw? +/facts/ diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index f8bb548..3ea1456 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -5,6 +5,10 @@ nocows=1 vault_password_file = ./gpg/get-vault-pass.sh gathering = smart +fact_caching = jsonfile +fact_caching_connection = ./facts +fact_caching_timeout = 7200 + var_compression_level = 9 timeout=30