]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Add teuthology role and playbook 97/head
authorZack Cerza <zack@redhat.com>
Mon, 3 Aug 2015 21:42:19 +0000 (15:42 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 3 Aug 2015 21:43:30 +0000 (15:43 -0600)
So far, it only depends on the sudo and users roles. The playbook also
runs the common role.

Signed-off-by: Zack Cerza <zack@redhat.com>
cephlab.yml
roles/teuthology/meta/main.yml [new file with mode: 0644]
teuthology.yml [new file with mode: 0644]

index 724923629ee03081ec3a6aea2cd0eca330a26a9c..6c33cd1a4bcf7686d9515ff664cfa4d596930040 100644 (file)
@@ -4,6 +4,9 @@
 # cobbler / downburst / cloud-init.
 - include: ansible_managed.yml
 
+# if this node is in the teuthology group, configure it
+- include: teuthology.yml
+
 # if this node is in the testnode group, configure it
 - include: testnodes.yml
 
diff --git a/roles/teuthology/meta/main.yml b/roles/teuthology/meta/main.yml
new file mode 100644 (file)
index 0000000..a4b782a
--- /dev/null
@@ -0,0 +1,4 @@
+---
+dependencies:
+  - role: sudo
+  - role: users
diff --git a/teuthology.yml b/teuthology.yml
new file mode 100644 (file)
index 0000000..5903e0b
--- /dev/null
@@ -0,0 +1,5 @@
+---
+- hosts: teuthology
+  roles:
+    - common
+    - teuthology