You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
576 B

9 years ago
9 years ago
  1. ---
  2. - hosts: downloader
  3. sudo: no
  4. roles:
  5. - { role: download, tags: download }
  6. - hosts: k8s-cluster
  7. roles:
  8. - { role: etcd, tags: etcd }
  9. - { role: docker, tags: docker }
  10. - { role: overlay_network, tags: ['calico', 'flannel', 'network'] }
  11. - { role: dnsmasq, tags: dnsmasq }
  12. - hosts: kube-master
  13. roles:
  14. - { role: kubernetes/master, tags: master }
  15. # Addons to be installed
  16. # - { role: apps/k8s-kube-ui, tags: kube-ui }
  17. # - { role: apps/k8s-skydns, tags: skydns }
  18. - hosts: kube-node
  19. roles:
  20. - { role: kubernetes/node, tags: node }