mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1096 from ceph/cleanup-yml-tests
tests: remove all validating yml playbookspull/1097/head
commit
46e6c88d3f
|
@ -1,13 +0,0 @@
|
|||
# This playbook tests a Ceph
|
||||
|
||||
- hosts:
|
||||
- osds
|
||||
|
||||
vars:
|
||||
foo: bar
|
||||
|
||||
tasks:
|
||||
|
||||
- name: foo
|
||||
command: bar
|
||||
delegate_to: foobar
|
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
# This playbook tests a Ceph Metadata server
|
||||
|
||||
- hosts:
|
||||
- mdds
|
||||
|
||||
vars:
|
||||
foo: bar
|
||||
|
||||
tasks:
|
||||
|
||||
- name: foo
|
||||
command: bar
|
||||
delegate_to: foobar
|
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
# This playbook tests a Ceph monitor
|
||||
|
||||
- hosts:
|
||||
- mons
|
||||
|
||||
vars:
|
||||
foo: bar
|
||||
|
||||
tasks:
|
||||
|
||||
- name: foo
|
||||
command: bar
|
||||
delegate_to: foobar
|
|
@ -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
|
|
@ -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
|
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
# This playbook tests a Ceph monitor
|
||||
|
||||
- hosts:
|
||||
- rgws
|
||||
|
||||
vars:
|
||||
foo: bar
|
||||
|
||||
tasks:
|
||||
|
||||
- name: foo
|
||||
command: bar
|
||||
delegate_to: foobar
|
Loading…
Reference in New Issue