Add the playbook for deploying the helm app 14/74914/1
authorPetr Ospalý <p.ospaly@partner.samsung.com>
Wed, 19 Dec 2018 14:00:09 +0000 (15:00 +0100)
committerPetr Ospalý <p.ospaly@partner.samsung.com>
Wed, 19 Dec 2018 14:00:09 +0000 (15:00 +0100)
The application specific stuff should be in the
directory application - look at the README.md there

Change-Id: I59d103246d0f54ea329a04d43479c4f31952b902
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
ansible/application.yml [new file with mode: 0644]

diff --git a/ansible/application.yml b/ansible/application.yml
new file mode 100644 (file)
index 0000000..bbac7e5
--- /dev/null
@@ -0,0 +1,23 @@
+---
+- name: Setup nfs server
+  hosts: nfs-server
+  roles:
+    - {role: nfs, when: groups.kubernetes | length > 1 }
+
+- name: Setup nfs mounts
+  hosts: kubernetes:!nfs-server
+  roles:
+    - {role: nfs, when: groups.kubernetes | length > 1 }
+
+- name: Install Helm application {{ app_name }} into offline Kubernetes cluster
+  hosts: infrastructure
+  roles:
+    - role: application-install
+      vars:
+        phase: pre-install
+    - role: application-install
+      vars:
+        phase: install
+    - role: application-install
+      vars:
+        phase: post-install