From: Petr OspalĂ˝ Date: Wed, 19 Dec 2018 14:00:09 +0000 (+0100) Subject: Add the playbook for deploying the helm app X-Git-Tag: 6.0.0-ONAP~384^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=1af97d99588c00f5d226495e14def372beb04a0d;p=oom%2Foffline-installer.git Add the playbook for deploying the helm app 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Ă˝ --- 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