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}