ansible: enable facts caching
authorChristian Pointner <equinox@realraum.at>
Sat, 21 Apr 2018 20:01:22 +0000 (22:01 +0200)
committerChristian Pointner <equinox@realraum.at>
Sat, 21 Apr 2018 20:01:22 +0000 (22:01 +0200)
ansible/.gitignore
ansible/ansible.cfg

index 3b3711f..b0e2918 100644 (file)
@@ -3,3 +3,4 @@
 *.pyc
 *.retry
 .*.sw?
+/facts/
index f8bb548..3ea1456 100644 (file)
@@ -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