2015-10-03 20:19:50 +00:00
|
|
|
---
|
2016-08-12 14:06:31 +00:00
|
|
|
- hosts: all
|
2016-09-06 14:04:41 +00:00
|
|
|
gather_facts: false
|
|
|
|
roles:
|
|
|
|
- bootstrap-os
|
|
|
|
tags:
|
|
|
|
- bootstrap-os
|
2016-08-12 14:06:31 +00:00
|
|
|
|
2016-08-11 19:14:11 +00:00
|
|
|
- hosts: etcd:!k8s-cluster
|
2016-09-06 14:04:41 +00:00
|
|
|
gather_facts: true
|
2015-12-17 21:46:50 +00:00
|
|
|
roles:
|
2015-12-31 09:03:22 +00:00
|
|
|
- { role: kubernetes/preinstall, tags: preinstall }
|
2016-08-11 19:14:11 +00:00
|
|
|
- { role: etcd, tags: etcd }
|
2016-07-26 13:18:47 +00:00
|
|
|
|
|
|
|
- hosts: k8s-cluster
|
2016-09-06 14:04:41 +00:00
|
|
|
gather_facts: true
|
2016-07-26 13:18:47 +00:00
|
|
|
roles:
|
|
|
|
- { role: kubernetes/preinstall, tags: preinstall }
|
|
|
|
- { role: etcd, tags: etcd }
|
2015-12-23 22:27:40 +00:00
|
|
|
- { role: kubernetes/node, tags: node }
|
2016-01-30 15:04:47 +00:00
|
|
|
- { role: network_plugin, tags: network }
|
2015-10-03 20:19:50 +00:00
|
|
|
|
2015-12-11 10:40:56 +00:00
|
|
|
- hosts: kube-master
|
2016-09-06 14:04:41 +00:00
|
|
|
gather_facts: true
|
2015-12-11 10:40:56 +00:00
|
|
|
roles:
|
2016-08-25 09:16:14 +00:00
|
|
|
- { role: kubernetes/preinstall, tags: preinstall }
|
2015-12-11 10:40:56 +00:00
|
|
|
- { role: kubernetes/master, tags: master }
|
2016-03-18 14:07:33 +00:00
|
|
|
|
2016-03-21 10:37:35 +00:00
|
|
|
- hosts: k8s-cluster
|
2016-09-06 14:04:41 +00:00
|
|
|
gather_facts: true
|
2016-03-18 14:07:33 +00:00
|
|
|
roles:
|
2016-03-21 10:37:35 +00:00
|
|
|
- { role: dnsmasq, tags: dnsmasq }
|
2016-05-04 16:00:46 +00:00
|
|
|
|
|
|
|
- hosts: kube-master[0]
|
2016-09-06 14:04:41 +00:00
|
|
|
gather_facts: true
|
2016-05-04 16:00:46 +00:00
|
|
|
roles:
|
2016-09-07 18:02:06 +00:00
|
|
|
- { role: kubernetes-apps, tags: apps }
|