Petr Ospalý | 1ae0393 | 2018-12-19 14:57:05 +0100 | [diff] [blame] | 1 | --- |
Petr Ospalý | 1ae0393 | 2018-12-19 14:57:05 +0100 | [diff] [blame] | 2 | - name: Deploy rancher server and create k8s env |
| 3 | hosts: infrastructure |
| 4 | roles: |
Samuli Silvius | c580efe | 2019-03-17 18:06:33 +0200 | [diff] [blame] | 5 | - role: rancher |
| 6 | vars: |
| 7 | mode: server |
| 8 | - kubectl |
| 9 | - helm |
Petr Ospalý | 1ae0393 | 2018-12-19 14:57:05 +0100 | [diff] [blame] | 10 | |
Samuli Silvius | c580efe | 2019-03-17 18:06:33 +0200 | [diff] [blame] | 11 | - name: Deploy rancher agents for kube nodes |
Petr Ospalý | 1ae0393 | 2018-12-19 14:57:05 +0100 | [diff] [blame] | 12 | hosts: kubernetes |
| 13 | roles: |
Samuli Silvius | c580efe | 2019-03-17 18:06:33 +0200 | [diff] [blame] | 14 | - role: rancher |
| 15 | vars: |
| 16 | mode: agent |
Petr Ospalý | 1ae0393 | 2018-12-19 14:57:05 +0100 | [diff] [blame] | 17 | |
| 18 | - name: Wait for Kubernetes environment to be healthy |
| 19 | hosts: infrastructure |
Samuli Silvius | c580efe | 2019-03-17 18:06:33 +0200 | [diff] [blame] | 20 | roles: |
| 21 | - role: rancher |
| 22 | vars: |
| 23 | mode: health |