From 1af97d99588c00f5d226495e14def372beb04a0d Mon Sep 17 00:00:00 2001
From: Petr OspalĂ˝ <p.ospaly@partner.samsung.com>
Date: Wed, 19 Dec 2018 15:00:09 +0100
Subject: Add the playbook for deploying the helm app
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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 | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 ansible/application.yml

(limited to 'ansible')

diff --git a/ansible/application.yml b/ansible/application.yml
new file mode 100644
index 00000000..bbac7e5c
--- /dev/null
+++ b/ansible/application.yml
@@ -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
-- 
cgit