mirror of https://github.com/ceph/ceph-ansible.git
tests: use the rhcs_setup.yml playbook in tox.ini
Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1389/head
parent
d261da6679
commit
28f1f24759
5
tox.ini
5
tox.ini
|
@ -70,6 +70,7 @@ setenv=
|
||||||
docker_cluster: PLAYBOOK = site-docker.yml.sample
|
docker_cluster: PLAYBOOK = site-docker.yml.sample
|
||||||
docker_dedicated_journal: PLAYBOOK = site-docker.yml.sample
|
docker_dedicated_journal: PLAYBOOK = site-docker.yml.sample
|
||||||
docker_dmcrypt_journal_collocation: PLAYBOOK = site-docker.yml.sample
|
docker_dmcrypt_journal_collocation: PLAYBOOK = site-docker.yml.sample
|
||||||
|
rhcs: CEPH_RHCS = true
|
||||||
deps=
|
deps=
|
||||||
ansible1.9: ansible==1.9.4
|
ansible1.9: ansible==1.9.4
|
||||||
ansible2.1: ansible==2.1
|
ansible2.1: ansible==2.1
|
||||||
|
@ -95,9 +96,13 @@ changedir=
|
||||||
update_dmcrypt: {toxinidir}/tests/functional/centos/7/dmcrypt-dedicated-journal
|
update_dmcrypt: {toxinidir}/tests/functional/centos/7/dmcrypt-dedicated-journal
|
||||||
update_cluster: {toxinidir}/tests/functional/centos/7/cluster
|
update_cluster: {toxinidir}/tests/functional/centos/7/cluster
|
||||||
commands=
|
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}
|
vagrant up --no-provision {posargs:--provider=virtualbox}
|
||||||
bash {toxinidir}/tests/scripts/generate_ssh_config.sh {changedir}
|
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 '\
|
ansible-playbook -vv -i {changedir}/hosts {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars '\
|
||||||
\{\
|
\{\
|
||||||
"fetch_directory":"{env:FETCH_DIRECTORY:{changedir}/fetch}",\
|
"fetch_directory":"{env:FETCH_DIRECTORY:{changedir}/fetch}",\
|
||||||
|
|
Loading…
Reference in New Issue