From 974b9a5b04cde6e8696cffcdf2ca357d9c4f3284 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 3 Aug 2015 15:42:19 -0600 Subject: [PATCH] Add teuthology role and playbook So far, it only depends on the sudo and users roles. The playbook also runs the common role. Signed-off-by: Zack Cerza --- cephlab.yml | 3 +++ roles/teuthology/meta/main.yml | 4 ++++ teuthology.yml | 5 +++++ 3 files changed, 12 insertions(+) create mode 100644 roles/teuthology/meta/main.yml create mode 100644 teuthology.yml diff --git a/cephlab.yml b/cephlab.yml index 7249236..6c33cd1 100644 --- a/cephlab.yml +++ b/cephlab.yml @@ -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 index 0000000..a4b782a --- /dev/null +++ b/roles/teuthology/meta/main.yml @@ -0,0 +1,4 @@ +--- +dependencies: + - role: sudo + - role: users diff --git a/teuthology.yml b/teuthology.yml new file mode 100644 index 0000000..5903e0b --- /dev/null +++ b/teuthology.yml @@ -0,0 +1,5 @@ +--- +- hosts: teuthology + roles: + - common + - teuthology -- 2.39.5