2015-10-04 04:19:50 +08:00
|
|
|
---
|
2016-08-12 22:06:31 +08:00
|
|
|
- hosts: all
|
|
|
|
gather_facts: true
|
|
|
|
|
2016-08-12 03:14:11 +08:00
|
|
|
- hosts: etcd:!k8s-cluster
|
2015-12-18 05:46:50 +08:00
|
|
|
roles:
|
2015-12-31 17:03:22 +08:00
|
|
|
- { role: kubernetes/preinstall, tags: preinstall }
|
2016-08-12 03:14:11 +08:00
|
|
|
- { role: etcd, tags: etcd }
|
2016-07-26 21:18:47 +08:00
|
|
|
|
|
|
|
- hosts: k8s-cluster
|
|
|
|
roles:
|
|
|
|
- { role: kubernetes/preinstall, tags: preinstall }
|
|
|
|
- { role: etcd, tags: etcd }
|
2015-12-24 06:27:40 +08:00
|
|
|
- { role: kubernetes/node, tags: node }
|
2016-01-30 23:04:47 +08:00
|
|
|
- { role: network_plugin, tags: network }
|
2015-10-04 04:19:50 +08:00
|
|
|
|
2015-12-11 18:40:56 +08:00
|
|
|
- hosts: kube-master
|
|
|
|
roles:
|
2016-08-25 17:16:14 +08:00
|
|
|
- { role: kubernetes/preinstall, tags: preinstall }
|
2015-12-11 18:40:56 +08:00
|
|
|
- { role: kubernetes/master, tags: master }
|
2016-03-18 22:07:33 +08:00
|
|
|
|
2016-03-21 18:37:35 +08:00
|
|
|
- hosts: k8s-cluster
|
2016-03-18 22:07:33 +08:00
|
|
|
roles:
|
2016-03-21 18:37:35 +08:00
|
|
|
- { role: dnsmasq, tags: dnsmasq }
|
2016-05-05 00:00:46 +08:00
|
|
|
|
|
|
|
- hosts: kube-master[0]
|
|
|
|
roles:
|
2016-09-08 02:02:06 +08:00
|
|
|
- { role: kubernetes-apps, tags: apps }
|