blob: e44f18d3314ec6fa186773a5b043bd80fdcabaca [file] [log] [blame]
Petr Ospalý1ae03932018-12-19 14:57:05 +01001---
Petr Ospalý1ae03932018-12-19 14:57:05 +01002- name: Deploy rancher server and create k8s env
3 hosts: infrastructure
4 roles:
Samuli Silviusc580efe2019-03-17 18:06:33 +02005 - role: rancher
6 vars:
7 mode: server
8 - kubectl
9 - helm
Petr Ospalý1ae03932018-12-19 14:57:05 +010010
Samuli Silviusc580efe2019-03-17 18:06:33 +020011- name: Deploy rancher agents for kube nodes
Petr Ospalý1ae03932018-12-19 14:57:05 +010012 hosts: kubernetes
13 roles:
Samuli Silviusc580efe2019-03-17 18:06:33 +020014 - role: rancher
15 vars:
16 mode: agent
Petr Ospalý1ae03932018-12-19 14:57:05 +010017
18- name: Wait for Kubernetes environment to be healthy
19 hosts: infrastructure
Samuli Silviusc580efe2019-03-17 18:06:33 +020020 roles:
21 - role: rancher
22 vars:
23 mode: health