]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
purge: tox add lvm-setup
authorSébastien Han <seb@redhat.com>
Tue, 4 Dec 2018 08:21:51 +0000 (09:21 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 11 Dec 2018 08:59:25 +0000 (09:59 +0100)
Since we deploy > purge > deploy the LVs are gone so we much recreate
them.

Signed-off-by: Sébastien Han <seb@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 09fa1dfbdb2fec0b521d8740a36a95f83a285f42..69ea0df665a9fea7e9792bb9bc73f19f85a2324d 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -54,6 +54,9 @@ commands=
       ceph_docker_image_tag={env:CEPH_DOCKER_IMAGE_TAG:latest-master} \
   "
 
+  # re-setup lvm
+  ansible-playbook -vv -i {changedir}/hosts {toxinidir}/tests/functional/lvm_setup.yml
+
   # set up the cluster again
   ansible-playbook -vv -i {changedir}/hosts {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
       ceph_stable_release={env:CEPH_STABLE_RELEASE:luminous} \