]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: modify add-osd job
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 3 Mar 2020 10:08:22 +0000 (11:08 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 3 Mar 2020 10:08:22 +0000 (11:08 +0100)
This commit modifies the way we test add-osd scenario given that the
playbook add-osd.yml is broken at the moment.

As a workaround we can use main playbook with `--limit` to achieve this
operation.

Note: This commit is intended to be reverted once we get a fix.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 7d7b6d3a899e313c82b3a8821c82fbd1523e7392..7a7e76167276904dca1d9d9514ad2e8cdd382ca0 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -147,8 +147,9 @@ commands=
 commands=
   ansible-playbook -vv -i {changedir}/hosts-2 --limit osd1 {toxinidir}/tests/functional/setup.yml
   ansible-playbook -vv -i {changedir}/hosts-2 --limit osd1 {toxinidir}/tests/functional/lvm_setup.yml
-  cp {toxinidir}/infrastructure-playbooks/add-osd.yml {toxinidir}/add-osd.yml
-  ansible-playbook -vv -i {changedir}/hosts-2 --limit osd1 {toxinidir}/add-osd.yml --extra-vars "\
+  #cp {toxinidir}/infrastructure-playbooks/add-osd.yml {toxinidir}/add-osd.yml
+  #ansible-playbook -vv -i {changedir}/hosts-2 --limit osd1 {toxinidir}/add-osd.yml --extra-vars "\
+  ansible-playbook -vv -i {changedir}/hosts-2 --limit osd1 {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
       ireallymeanit=yes \
       fetch_directory={env:FETCH_DIRECTORY:{changedir}/fetch} \
       ceph_stable_release={env:CEPH_STABLE_RELEASE:luminous} \