forked from oracle/terraform-kubernetes-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.yml
48 lines (43 loc) · 836 Bytes
/
site.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
- hosts: all
gather_facts: yes
- hosts: all
gather_facts: yes
remote_user: opc
become: yes
roles:
- { role: common, tags: ['common'] }
vars_files:
- vars/main.yml
- hosts: etcd
gather_facts: yes
remote_user: opc
become: yes
vars_files:
- vars/main.yml
roles:
- { role: etcd, tags: ['etcd'] }
- hosts: k8s-master, k8s-worker
gather_facts: yes
remote_user: opc
become: yes
roles:
- { role: k8sbase, tags: ['k8sbase'] }
vars_files:
- vars/main.yml
- hosts: k8s-master
gather_facts: yes
remote_user: opc
become: yes
vars_files:
- vars/main.yml
roles:
- { role: k8smaster, tags: ['k8smaster'] }
- hosts: k8s-worker
gather_facts: yes
remote_user: opc
become: yes
vars_files:
- vars/main.yml
roles:
- { role: k8sworker, tags: ['k8sworker'] }