mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1074 from ceph/test-group-vars
functional test scenarios should include a group_vars dirpull/1081/head
commit
74ae307fea
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
|
||||
ceph_stable: True
|
||||
public_network: "192.168.42.0/24"
|
||||
cluster_network: "192.168.43.0/24"
|
||||
journal_size: 100
|
|
@ -1,4 +1,2 @@
|
|||
|
||||
[mons]
|
||||
mon0
|
||||
|
||||
mon0 monitor_interface=eth1
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue