From: Guillaume Abrioux Date: Wed, 6 Feb 2019 09:57:53 +0000 (+0100) Subject: ceph-ansible: clean fact cache in individual scenario testing X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1250%2Fhead;p=ceph-build.git ceph-ansible: clean fact cache in individual scenario testing cleanup fact cache here too Signed-off-by: Guillaume Abrioux --- diff --git a/ceph-ansible-scenario/build/build b/ceph-ansible-scenario/build/build index 678004d4b..711d17056 100644 --- a/ceph-ansible-scenario/build/build +++ b/ceph-ansible-scenario/build/build @@ -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 diff --git a/ceph-ansible-scenario/build/teardown b/ceph-ansible-scenario/build/teardown index 350248e52..b9e5ebfa9 100644 --- a/ceph-ansible-scenario/build/teardown +++ b/ceph-ansible-scenario/build/teardown @@ -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