2015-10-04 04:19:50 +08:00
|
|
|
---
|
|
|
|
- hosts: downloader
|
|
|
|
sudo: no
|
|
|
|
roles:
|
|
|
|
- { role: download, tags: download }
|
|
|
|
|
|
|
|
- hosts: k8s-cluster
|
|
|
|
roles:
|
|
|
|
- { role: etcd, tags: etcd }
|
|
|
|
- { role: docker, tags: docker }
|
|
|
|
- { role: overlay_network, tags: ['calico', 'flannel', 'network'] }
|
|
|
|
- { role: dnsmasq, tags: dnsmasq }
|
|
|
|
|
|
|
|
- hosts: kube-master
|
|
|
|
roles:
|
|
|
|
- { role: kubernetes/master, tags: master }
|
2015-10-18 22:23:01 +08:00
|
|
|
# Apps to be installed
|
|
|
|
# - { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
|
2015-10-12 23:31:04 +08:00
|
|
|
# - { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
|
2015-10-04 04:19:50 +08:00
|
|
|
|
|
|
|
- hosts: kube-node
|
|
|
|
roles:
|
|
|
|
- { role: kubernetes/node, tags: node }
|