From b8bcef503229b3d6463133f37f7eb40e4b36ac56 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 21 Apr 2018 22:01:22 +0200 Subject: [PATCH] ansible: enable facts caching --- ansible/.gitignore | 1 + ansible/ansible.cfg | 4 ++++ 2 files changed, 5 insertions(+) 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 -- 1.7.10.4