From: Andrew Schoen Date: Wed, 22 Mar 2017 17:38:12 +0000 (-0500) Subject: tests: fix task in rhcs_setup that changes vagrant box to rhel7 X-Git-Tag: v2.2.0~20^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b0caeed682b96fa4cdab2d7f01573affcf136b04;p=ceph-ansible.git tests: fix task in rhcs_setup that changes vagrant box to rhel7 Signed-off-by: Andrew Schoen --- diff --git a/tests/functional/rhcs_setup.yml b/tests/functional/rhcs_setup.yml index 4752749f5..700633781 100644 --- a/tests/functional/rhcs_setup.yml +++ b/tests/functional/rhcs_setup.yml @@ -1,5 +1,5 @@ --- -- hosts: local +- hosts: all gather_facts: false become: yes tags: @@ -10,7 +10,7 @@ replace: regexp: "centos/7" replace: "rhel7" - path: "{{ change_dir }}/vagrant_variables.yml" + dest: "{{ change_dir }}/vagrant_variables.yml" when: change_dir is defined - hosts: all diff --git a/tox.ini b/tox.ini index be778e157..f9b2d5b57 100644 --- a/tox.ini +++ b/tox.ini @@ -96,7 +96,7 @@ changedir= update_dmcrypt: {toxinidir}/tests/functional/centos/7/dmcrypt-dedicated-journal update_cluster: {toxinidir}/tests/functional/centos/7/cluster commands= - rhcs: ansible-playbook -vv -i {changedir}/hosts {toxinidir}/tests/functional/rhcs_setup.yml --extra-vars "change_dir={changedir}" --tags "vagrant_setup" + rhcs: ansible-playbook -vv -i "localhost," -c local {toxinidir}/tests/functional/rhcs_setup.yml --extra-vars "change_dir={changedir}" --tags "vagrant_setup" vagrant up --no-provision {posargs:--provider=virtualbox} bash {toxinidir}/tests/scripts/generate_ssh_config.sh {changedir}