]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Creates a new playbook to run for initial node setup.
authorAndrew Schoen <aschoen@redhat.com>
Mon, 20 Apr 2015 19:46:49 +0000 (14:46 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 20 Apr 2015 20:31:16 +0000 (15:31 -0500)
This playbook is meant to be pointed at a freshly reimaged node to
ensure that it's setup to be managed by ansible and provisioned
according to its defined role in the inventory.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
cephlab.yml [new file with mode: 0644]

diff --git a/cephlab.yml b/cephlab.yml
new file mode 100644 (file)
index 0000000..7249236
--- /dev/null
@@ -0,0 +1,11 @@
+---
+# ensure the node is setup to be managed by ansible
+# eventually, most of the things here will be done by
+# cobbler / downburst / cloud-init.
+- include: ansible_managed.yml
+
+# if this node is in the testnode group, configure it
+- include: testnodes.yml
+
+# if this node is in the cobbler group, configure it
+- include: cobbler.yml