]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible: clean fact cache in individual scenario testing 1250/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 6 Feb 2019 09:57:53 +0000 (10:57 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 6 Feb 2019 09:57:53 +0000 (10:57 +0100)
cleanup fact cache here too

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
ceph-ansible-scenario/build/build
ceph-ansible-scenario/build/teardown

index 678004d4bcb32afc6273832230cfa2388c15c8be..711d170569002623d2f9f2f0b39499b741812f2e 100644 (file)
@@ -14,6 +14,9 @@ clear_libvirt_networks
 restart_libvirt_services
 update_vagrant_boxes
 
+# In the same logic, clean fact cache
+rm -rf $HOME/ansible/facts/*
+
 # the $SCENARIO var is injected by the job configuration. It maps
 # to an actual, defined, tox environment
 $VENV/tox -rv -e=$SCENARIO --workdir=$WORKDIR -- --provider=libvirt
index 350248e524d88f91e9dfd934189035bcf8d471ae..b9e5ebfa932b7f8a8d263b04070f032e1060b524 100644 (file)
@@ -4,3 +4,6 @@ cd $WORKSPACE/tests
 
 # the method exists in scripts/build_utils.sh
 teardown_vagrant_tests
+
+# clean fact cache
+rm -rf $HOME/ansible/facts/*
\ No newline at end of file