summaryrefslogtreecommitdiffstats
path: root/ansible/rke.yml
blob: 13e7bb5b121103079a3b7146af0efe552293952e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
- name: Gather facts for all hosts
  hosts: all

- name: Configure kubernetes cluster (RKE)
  hosts: infrastructure
  roles:
    - role: rke
      vars:
        mode: config

- name: Prepare kubernetes hosts (RKE)
  hosts: kubernetes
  roles:
    - role: rke
      vars:
        mode: node

- name: Deploy kubernetes cluster (RKE)
  hosts: infrastructure
  roles:
    - role: rke
      vars:
        mode: deploy
    - kubectl
    - helm