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