Merge pull request #1074 from ceph/test-group-vars

functional test scenarios should include a group_vars dir
pull/1081/head
Alfredo Deza 2016-11-07 12:16:06 -05:00 committed by GitHub
commit 74ae307fea
3 changed files with 8 additions and 4 deletions

View File

@ -0,0 +1,6 @@
---
ceph_stable: True
public_network: "192.168.42.0/24"
cluster_network: "192.168.43.0/24"
journal_size: 100

View File

@ -1,4 +1,2 @@
[mons]
mon0
mon0 monitor_interface=eth1

View File

@ -20,7 +20,7 @@ commands=
vagrant up --no-provision --provider=virtualbox
bash {toxinidir}/tests/scripts/generate_ssh_config.sh {changedir}
initial-members: ansible-playbook -i {toxinidir}/tests/functional/ubuntu/16.04/mon/initial_members/hosts --extra-vars "ceph_stable=True public_network=192.168.42.0/24 cluster_network=192.168.43.0/24 journal_size=100 monitor_interface=eth1" {toxinidir}/site.yml.sample
ansible-playbook -i {changedir}/hosts {toxinidir}/site.yml.sample
py.test -v
vagrant destroy --force