c12s-kubespray/cluster.yml
2016-03-19 23:41:27 +01:00

18 lines
No EOL
518 B
YAML

---
- hosts: k8s-cluster
roles:
- { role: adduser, tags: adduser }
- { role: download, tags: download }
- { role: kubernetes/preinstall, tags: preinstall }
- { role: etcd, tags: etcd }
- { role: docker, tags: docker, when: ansible_os_family != "CoreOS" }
- { role: kubernetes/node, tags: node }
- { role: network_plugin, tags: network }
- hosts: kube-master
roles:
- { role: kubernetes/master, tags: master }
- hosts: kube-master[0]
roles:
- { role: dnsmasq, tags: dnsmasq }