tests: use the rhcs_setup.yml playbook in tox.ini

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1389/head
Andrew Schoen 2017-03-22 10:14:41 -05:00
parent d261da6679
commit 28f1f24759
1 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,7 @@ setenv=
docker_cluster: PLAYBOOK = site-docker.yml.sample
docker_dedicated_journal: PLAYBOOK = site-docker.yml.sample
docker_dmcrypt_journal_collocation: PLAYBOOK = site-docker.yml.sample
rhcs: CEPH_RHCS = true
deps=
ansible1.9: ansible==1.9.4
ansible2.1: ansible==2.1
@ -95,9 +96,13 @@ 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"
vagrant up --no-provision {posargs:--provider=virtualbox}
bash {toxinidir}/tests/scripts/generate_ssh_config.sh {changedir}
rhcs: ansible-playbook -vv -i {changedir}/hosts {toxinidir}/tests/functional/rhcs_setup.yml --extra-vars "repo_url={env:REPO_URL:}" --skip-tags "vagrant_setup"
ansible-playbook -vv -i {changedir}/hosts {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars '\
\{\
"fetch_directory":"{env:FETCH_DIRECTORY:{changedir}/fetch}",\