From b0caeed682b96fa4cdab2d7f01573affcf136b04 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 22 Mar 2017 12:38:12 -0500 Subject: [PATCH] tests: fix task in rhcs_setup that changes vagrant box to rhel7 Signed-off-by: Andrew Schoen --- tests/functional/rhcs_setup.yml | 4 ++-- tox.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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}