From 1a0208f44884c9d14ee3695e7f14cf9c9a296e50 Mon Sep 17 00:00:00 2001
From: ant31 <2t.antoine@gmail.com>
Date: Thu, 19 Nov 2015 22:49:02 +0100
Subject: [PATCH] Separate apps deploy from cluster deploy

---
 apps.yml    | 18 ++++++++++++++++++
 cluster.yml |  6 ------
 2 files changed, 18 insertions(+), 6 deletions(-)
 create mode 100644 apps.yml

diff --git a/apps.yml b/apps.yml
new file mode 100644
index 000000000..b0c4be06e
--- /dev/null
+++ b/apps.yml
@@ -0,0 +1,18 @@
+---
+- hosts: kube-master
+  roles:
+    # System
+    - { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
+
+    # Databases
+    - { role: apps/k8s-postgres, tags: ['postgres', 'apps'] }
+    - { role: apps/k8s-elasticsearch, tags: ['es', 'apps'] }
+
+    # Monitoring
+    - { role: apps/k8s-influxdb, tags: ['influxdb', 'apps']}
+    - { role: apps/k8s-heapster, tags: ['heapster', 'apps']}
+    - { role: apps/k8s-kubedash, tags: ['kubedash', 'apps']}
+
+    # Console
+    - { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
+    - { role: apps/k8s-kube-ui, tags: ['kube-ui', 'apps'] }
\ No newline at end of file
diff --git a/cluster.yml b/cluster.yml
index 421f642de..63ad7de5d 100644
--- a/cluster.yml
+++ b/cluster.yml
@@ -18,9 +18,3 @@
 - hosts: kube-node
   roles:
     - { role: kubernetes/node, tags: node }
-
-#- hosts: kube-master
-#  roles:
-    # Apps to be installed
-    # - { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
-    # - { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
-- 
GitLab