From 0c11a2ff57e362c59625b80f09114cc2857e3171 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 16 Nov 2016 08:49:51 -0500 Subject: [PATCH] tests: remove all validating yml playbooks Signed-off-by: Alfredo Deza --- tests/validate-ceph.yml | 13 ------------- tests/validate-mds.yml | 14 -------------- tests/validate-mon.yml | 14 -------------- tests/validate-rados.yml | 32 -------------------------------- tests/validate-rbd.yml | 13 ------------- tests/validate-rgw.yml | 14 -------------- 6 files changed, 100 deletions(-) delete mode 100644 tests/validate-ceph.yml delete mode 100644 tests/validate-mds.yml delete mode 100644 tests/validate-mon.yml delete mode 100644 tests/validate-rados.yml delete mode 100644 tests/validate-rbd.yml delete mode 100644 tests/validate-rgw.yml diff --git a/tests/validate-ceph.yml b/tests/validate-ceph.yml deleted file mode 100644 index 3ef739499..000000000 --- a/tests/validate-ceph.yml +++ /dev/null @@ -1,13 +0,0 @@ -# This playbook tests a Ceph - -- hosts: - - osds - - vars: - foo: bar - - tasks: - - - name: foo - command: bar - delegate_to: foobar diff --git a/tests/validate-mds.yml b/tests/validate-mds.yml deleted file mode 100644 index c397869d5..000000000 --- a/tests/validate-mds.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -# This playbook tests a Ceph Metadata server - -- hosts: - - mdds - - vars: - foo: bar - - tasks: - - - name: foo - command: bar - delegate_to: foobar diff --git a/tests/validate-mon.yml b/tests/validate-mon.yml deleted file mode 100644 index b66732715..000000000 --- a/tests/validate-mon.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -# This playbook tests a Ceph monitor - -- hosts: - - mons - - vars: - foo: bar - - tasks: - - - name: foo - command: bar - delegate_to: foobar diff --git a/tests/validate-rados.yml b/tests/validate-rados.yml deleted file mode 100644 index f0dfc2e6a..000000000 --- a/tests/validate-rados.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -# This playbook tests a Ceph object storage daemon - -- hosts: - - 127.0.0.1 - roles: ceph-common - sudo: True - - vars: - foo: bar - - tasks: - - - name: Fetch ceph.conf and admin keyring - fetch: > - src=/etc/ceph/ceph.client.admin.keyring - dest=/etc/ceph/ceph.client.admin.keyring - fail_on_missing=yes - - - name: Create working directory - command: mktemp - register: tmp_work_dir - - - name: Create a file - command: dd if=/dev/zero of={{ tmp_work_dir.stdout }}/foobar count=1 bs=1M - - - name: Create an object - command: rados -p rbd put foobar.object {{ tmp_work_dir.stdout }}/foobar - delegate_to: foobar - - - name: Get an object - command: rados -p rbd get foobar.object {{ tmp_work_dir.stdout }}/foobar.file diff --git a/tests/validate-rbd.yml b/tests/validate-rbd.yml deleted file mode 100644 index 67eddc8bc..000000000 --- a/tests/validate-rbd.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -# This playbook tests a Ceph object storage daemon - -- hosts: - - osds - - vars: - foo: bar - - tasks: - - - name: Create a RBD image - command: rbd create -s 10240 foobar diff --git a/tests/validate-rgw.yml b/tests/validate-rgw.yml deleted file mode 100644 index a241232df..000000000 --- a/tests/validate-rgw.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -# This playbook tests a Ceph monitor - -- hosts: - - rgws - - vars: - foo: bar - - tasks: - - - name: foo - command: bar - delegate_to: foobar