From a88fddea494321b141d5071753e68e67263125ba Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 5 Dec 2018 21:11:05 -0500 Subject: [PATCH] Enable fact_caching to speed up testing We don't need to gather facts each time, lets cache them in a jsonfile. Change-Id: Ica8a97d1126fe74dc971487f0531641917b7bd21 Signed-off-by: Paul Belanger --- tests/ansible.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ansible.cfg b/tests/ansible.cfg index 4bf857c..6b40916 100644 --- a/tests/ansible.cfg +++ b/tests/ansible.cfg @@ -1,5 +1,7 @@ [defaults] callback_whitelist = profile_tasks, timer +fact_caching = jsonfile +fact_caching_connection = ~/.cache/ansible/facts [ssh_connection] # NOTE(pabelanger): Enable pipelining to deal with becomes issues: