mirror of https://github.com/ceph/ceph-ansible.git
test: add handler support
Add idempotency and handler test. Signed-off-by: Sébastien Han <seb@redhat.com>pull/1956/head
parent
ba42894516
commit
18e2ab4d07
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"ceph_conf_overrides": {
|
||||
"global": {
|
||||
"osd_pool_default_pg_num": 12
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
|
@ -0,0 +1 @@
|
|||
../cluster/ceph-override.json
|
12
tox.ini
12
tox.ini
|
@ -228,6 +228,18 @@ commands=
|
|||
# retest to ensure cluster came back up correctly after rebooting
|
||||
testinfra -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/tests/functional/tests
|
||||
|
||||
# handlers/idempotency test
|
||||
ansible-playbook -vv -i {changedir}/hosts {toxinidir}/{env:PLAYBOOK:site.yml.sample} \
|
||||
--extra-vars "\
|
||||
fetch_directory={env:FETCH_DIRECTORY:{changedir}/fetch} \
|
||||
ceph_stable_release={env:CEPH_STABLE_RELEASE:luminous} \
|
||||
ceph_docker_registry={env:CEPH_DOCKER_REGISTRY:docker.io} \
|
||||
ceph_docker_image={env:CEPH_DOCKER_IMAGE:ceph/daemon} \
|
||||
ceph_docker_image_tag={env:CEPH_DOCKER_IMAGE_TAG:latest} \
|
||||
ceph_dev_branch={env:CEPH_DEV_BRANCH:master} \
|
||||
ceph_dev_sha1={env:CEPH_DEV_SHA1:latest} " \
|
||||
--extra-vars @ceph-override.json
|
||||
|
||||
purge_cluster: {[purge]commands}
|
||||
purge_lvm_osds: {[purge-lvm]commands}
|
||||
purge_dmcrypt: {[purge]commands}
|
||||
|
|
Loading…
Reference in New Issue