summaryrefslogtreecommitdiffstats
path: root/ansible/application.yml
blob: bbac7e5c894da045ff8794f870c46ee58016135a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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