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
600 B

9 years ago
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. # Apps to be installed
  16. # - { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
  17. # - { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
  18. - hosts: kube-node
  19. roles:
  20. - { role: kubernetes/node, tags: node }