Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 1 | --- |
| 2 | - name: Gather facts for all hosts |
| 3 | hosts: all |
| 4 | |
Petr Ospalý | 8f83455 | 2019-08-22 17:33:07 +0200 | [diff] [blame] | 5 | - name: Configure etcd (RKE) |
| 6 | hosts: kubernetes-etcd |
| 7 | roles: |
| 8 | - role: rke |
| 9 | vars: |
| 10 | mode: etcd |
| 11 | |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 12 | - name: Configure kubernetes cluster (RKE) |
| 13 | hosts: infrastructure |
| 14 | roles: |
| 15 | - role: rke |
| 16 | vars: |
| 17 | mode: config |
| 18 | |
Michal Zegan | 89e6314 | 2019-05-28 17:16:47 +0200 | [diff] [blame] | 19 | - name: Prepare kubernetes hosts (RKE) |
| 20 | hosts: kubernetes |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 21 | roles: |
| 22 | - role: rke |
| 23 | vars: |
| 24 | mode: node |
| 25 | |
| 26 | - name: Deploy kubernetes cluster (RKE) |
| 27 | hosts: infrastructure |
| 28 | roles: |
| 29 | - role: rke |
| 30 | vars: |
| 31 | mode: deploy |
Michal Zegan | 119f760 | 2019-04-23 16:34:58 +0200 | [diff] [blame] | 32 | - kubectl |
Bartek Grzybowski | 73a80b4 | 2021-12-17 11:58:13 +0100 | [diff] [blame] | 33 | - role: bash-completion |
| 34 | completion_bin: kubectl |
Michal Zegan | 119f760 | 2019-04-23 16:34:58 +0200 | [diff] [blame] | 35 | - helm |
Bartek Grzybowski | 73a80b4 | 2021-12-17 11:58:13 +0100 | [diff] [blame] | 36 | - role: bash-completion |
| 37 | completion_bin: helm |