summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2020-04-07 16:51:08 +0100
committerMichael Adam <obnox@samba.org>2020-04-07 20:59:01 +0200
commit6fb902dbcc923708a8e0195a47665a9752922470 (patch)
tree3febd11595998530556eede17eb3d9f79dcf4011
parent0438a163c0c962229dbb7dbb968475f2951db011 (diff)
downloadsamba-integration-6fb902dbcc923708a8e0195a47665a9752922470.tar.gz
samba-integration-6fb902dbcc923708a8e0195a47665a9752922470.tar.xz
samba-integration-6fb902dbcc923708a8e0195a47665a9752922470.zip
Create role glusterfs.setup
Have it include roles gluster.infra and gluster.cluster. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
-rw-r--r--vagrant/ansible/roles/glusterfs.setup/tasks/main.yml5
-rw-r--r--vagrant/ansible/setup-cluster.yml3
2 files changed, 6 insertions, 2 deletions
diff --git a/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml b/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml
new file mode 100644
index 0000000..22d3a4d
--- /dev/null
+++ b/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml
@@ -0,0 +1,5 @@
+- include_role:
+ name: gluster.infra
+
+- include_role:
+ name: gluster.cluster
diff --git a/vagrant/ansible/setup-cluster.yml b/vagrant/ansible/setup-cluster.yml
index 0b540e2..f3c19a9 100644
--- a/vagrant/ansible/setup-cluster.yml
+++ b/vagrant/ansible/setup-cluster.yml
@@ -6,7 +6,6 @@
roles:
- common.prep
- node.prep
- - gluster.infra
- - gluster.cluster
+ - glusterfs.setup
- ctdb.setup
- samba-glusterfs.setup