]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: fix update scenario (container)
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 2 Dec 2019 14:16:39 +0000 (15:16 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 2 Dec 2019 15:48:56 +0000 (10:48 -0500)
The path to the inventory isn't correct because we are missing the variable
`CONTAINER_DIR` here.

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

index 6764b0407ee9f1ffcbf02bc160acb0056dc72824..e383d26049e9617d69cad5d1a696f4eaf0ad495e 100644 (file)
@@ -51,7 +51,7 @@ commands=
   git clone -b stable-3.1 --single-branch https://github.com/ceph/ceph-ansible.git {envdir}/tmp/ceph-ansible
   pip install -r {envdir}/tmp/ceph-ansible/tests/requirements.txt
 
-  ansible-playbook -vv -i {envdir}/tmp/ceph-ansible/tests/functional/all_daemons/{env:INVENTORY} {envdir}/tmp/ceph-ansible/tests/functional/setup.yml
+  ansible-playbook -vv -i {envdir}/tmp/ceph-ansible/tests/functional/all_daemons{env:CONTAINER_DIR:}/{env:INVENTORY} {envdir}/tmp/ceph-ansible/tests/functional/setup.yml
 
    # deploy the cluster
   ansible-playbook -vv -i {envdir}/tmp/ceph-ansible/tests/functional/all_daemons{env:CONTAINER_DIR:}/hosts {envdir}/tmp/ceph-ansible/{env:PLAYBOOK:site.yml.sample} --limit 'all:!iscsigws' --extra-vars "\