2015-10-03 20:19:50 +00:00
|
|
|
---
|
|
|
|
- hosts: downloader
|
|
|
|
sudo: no
|
|
|
|
roles:
|
|
|
|
- { role: download, tags: download }
|
|
|
|
|
2015-12-11 10:40:56 +00:00
|
|
|
# etcd must be running on master(s) before going on
|
|
|
|
- hosts: kube-master
|
2015-10-03 20:19:50 +00:00
|
|
|
roles:
|
|
|
|
- { role: etcd, tags: etcd }
|
|
|
|
|
2015-12-11 10:40:56 +00:00
|
|
|
- hosts: k8s-cluster
|
2015-10-03 20:19:50 +00:00
|
|
|
roles:
|
2015-12-11 10:40:56 +00:00
|
|
|
- { role: docker, tags: docker }
|
|
|
|
- { role: dnsmasq, tags: dnsmasq }
|
|
|
|
- { role: network_plugin, tags: ['calico', 'flannel', 'network'] }
|
2015-10-03 20:19:50 +00:00
|
|
|
|
|
|
|
- hosts: kube-node
|
|
|
|
roles:
|
|
|
|
- { role: kubernetes/node, tags: node }
|
2015-12-11 10:40:56 +00:00
|
|
|
|
|
|
|
- hosts: kube-master
|
|
|
|
roles:
|
|
|
|
- { role: kubernetes/master, tags: master }
|