diff --git a/tests/functional/ubuntu/16.04/mon/initial_members/group_vars/all b/tests/functional/ubuntu/16.04/mon/initial_members/group_vars/all new file mode 100644 index 000000000..f9c25f288 --- /dev/null +++ b/tests/functional/ubuntu/16.04/mon/initial_members/group_vars/all @@ -0,0 +1,6 @@ +--- + +ceph_stable: True +public_network: "192.168.42.0/24" +cluster_network: "192.168.43.0/24" +journal_size: 100 diff --git a/tests/functional/ubuntu/16.04/mon/initial_members/hosts b/tests/functional/ubuntu/16.04/mon/initial_members/hosts index b3fb91204..4d938c316 100644 --- a/tests/functional/ubuntu/16.04/mon/initial_members/hosts +++ b/tests/functional/ubuntu/16.04/mon/initial_members/hosts @@ -1,4 +1,2 @@ - [mons] -mon0 - +mon0 monitor_interface=eth1 diff --git a/tox.ini b/tox.ini index 808d33dad..94c08c614 100644 --- a/tox.ini +++ b/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