2015-10-04 04:19:50 +08:00
|
|
|
---
|
|
|
|
- hosts: downloader
|
|
|
|
sudo: no
|
|
|
|
roles:
|
|
|
|
- { role: download, tags: download }
|
|
|
|
|
2015-12-11 18:40:56 +08:00
|
|
|
- hosts: k8s-cluster
|
2015-10-04 04:19:50 +08:00
|
|
|
roles:
|
2015-12-15 18:49:11 +08:00
|
|
|
- { role: etcd, tags: etcd }
|
2015-12-11 18:40:56 +08:00
|
|
|
- { role: docker, tags: docker }
|
|
|
|
- { role: dnsmasq, tags: dnsmasq }
|
|
|
|
- { role: network_plugin, tags: ['calico', 'flannel', 'network'] }
|
2015-10-04 04:19:50 +08:00
|
|
|
|
|
|
|
- hosts: kube-node
|
|
|
|
roles:
|
|
|
|
- { role: kubernetes/node, tags: node }
|
2015-12-11 18:40:56 +08:00
|
|
|
|
|
|
|
- hosts: kube-master
|
|
|
|
roles:
|
|
|
|
- { role: kubernetes/master, tags: master }
|