c12s-kubespray/cluster.yml
Antoine Legrand 2e386dfbdc Merge pull request #465 from kubespray/freeze_kpm_version
Multiple app deploy tools
2016-09-08 22:01:52 +02:00

37 lines
No EOL
817 B
YAML

---
- hosts: all
gather_facts: false
roles:
- bootstrap-os
tags:
- bootstrap-os
- hosts: etcd:!k8s-cluster
gather_facts: true
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { role: etcd, tags: etcd }
- hosts: k8s-cluster
gather_facts: true
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { role: etcd, tags: etcd }
- { role: kubernetes/node, tags: node }
- { role: network_plugin, tags: network }
- hosts: kube-master
gather_facts: true
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { role: kubernetes/master, tags: master }
- hosts: k8s-cluster
gather_facts: true
roles:
- { role: dnsmasq, tags: dnsmasq }
- hosts: kube-master[0]
gather_facts: true
roles:
- { role: kubernetes-apps, tags: apps }