Petr OspalĂ˝ | 1af97d9 | 2018-12-19 15:00:09 +0100 | [diff] [blame] | 1 | --- |
| 2 | - name: Setup nfs server |
| 3 | hosts: nfs-server |
| 4 | roles: |
| 5 | - {role: nfs, when: groups.kubernetes | length > 1 } |
| 6 | |
| 7 | - name: Setup nfs mounts |
| 8 | hosts: kubernetes:!nfs-server |
| 9 | roles: |
| 10 | - {role: nfs, when: groups.kubernetes | length > 1 } |
| 11 | |
| 12 | - name: Install Helm application {{ app_name }} into offline Kubernetes cluster |
| 13 | hosts: infrastructure |
| 14 | roles: |
| 15 | - role: application-install |
| 16 | vars: |
| 17 | phase: pre-install |
| 18 | - role: application-install |
| 19 | vars: |
| 20 | phase: install |
| 21 | - role: application-install |
| 22 | vars: |
| 23 | phase: post-install |