blob: fab7a0d00ef9a994d2e56321406780a321fa1db1 [file] [log] [blame]
Michal Zegan1ec19b02019-04-30 14:52:13 +02001---
2- name: "Set cluster_ip"
3 hosts: all
4 tasks:
5 - name: "Set cluster_ip fact"
6 set_fact:
7 cluster_ip: "{{ ansible_default_ipv4.address }}"
8
9- name: Configure kubernetes cluster (RKE)
10 hosts: infrastructure
11 roles:
12 - role: rke
13 vars:
14 mode: config
15
Michal Zegan89e63142019-05-28 17:16:47 +020016- name: Prepare kubernetes hosts (RKE)
17 hosts: kubernetes
Michal Zegan1ec19b02019-04-30 14:52:13 +020018 roles:
19 - role: rke
20 vars:
21 mode: node
22
23- name: Deploy kubernetes cluster (RKE)
24 hosts: infrastructure
25 roles:
26 - role: rke
27 vars:
28 mode: deploy