summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hrabos <s.hrabos@partner.samsung.com>2018-12-19 14:10:49 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-19 14:10:49 +0000
commitbc15ad522630c703be0e7e1368205e5ea88d9b69 (patch)
tree7ef53f965ed41cf5229e5a906d4c2ca5bcfbbfdc
parent172b3f5dd40f0b2852aab14768a4e25973d55d17 (diff)
parent1af97d99588c00f5d226495e14def372beb04a0d (diff)
Merge "Add the playbook for deploying the helm app"
-rw-r--r--ansible/application.yml23
1 files changed, 23 insertions, 0 deletions
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