ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config
ANSIBLE_STDOUT_CALLBACK = debug
ANSIBLE_RETRY_FILES_ENABLED = False
+ VAGRANT_CWD = {changedir}
deps=
ansible==2.2.3
testinfra==1.6.0
bash {toxinidir}/scripts/generate_ssh_config.sh {changedir}
# create logical volumes to test with on the vms
+ ansible-playbook -vv -i {changedir}/hosts {toxinidir}/setup.yml
ansible-playbook -vv -i {changedir}/hosts {envdir}/tmp/ceph-ansible/tests/functional/lvm_setup.yml
# use ceph-ansible to deploy a ceph cluster on the vms
# reboot all vms
vagrant reload --no-provision
-
+
# retest to ensure cluster came back up correctly after rebooting
testinfra -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {envdir}/tmp/ceph-ansible/tests/functional/tests