diff options
author | Petr Ospalý <p.ospaly@partner.samsung.com> | 2018-12-19 15:00:09 +0100 |
---|---|---|
committer | Petr Ospalý <p.ospaly@partner.samsung.com> | 2018-12-19 15:00:09 +0100 |
commit | 1af97d99588c00f5d226495e14def372beb04a0d (patch) | |
tree | d1bc2d85ac9e59c1aeaa46dadf2aba9860836f24 /ansible | |
parent | b8f3d733e03045b0484acee786e3e095cc1b4d92 (diff) |
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ý <p.ospaly@partner.samsung.com>
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/application.yml | 23 |
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 |