diff --git a/ansible.cfg b/ansible.cfg
index c7bb9fd101b1ce103d446a31e2c56b7635c7d068..7a2e7b378e463832514218c28ed68b8c6c3f0201 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -25,6 +25,12 @@ forks = 15
 # Some SSH connection will take time
 timeout = 60
 
+# Enable fact_caching
+gathering = smart
+fact_caching = jsonfile
+fact_caching_connection = ~/.cache/ansible/json/
+fact_caching_timeout = 86400
+
 [privilege_escalation]
 
 # Use sudo to get priviledge access