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.

29 lines
673 B

9 years ago
9 years ago
9 years ago
  1. ---
  2. - hosts: all
  3. gather_facts: true
  4. - hosts: etcd:!k8s-cluster
  5. roles:
  6. - { role: kubernetes/preinstall, tags: preinstall }
  7. - { role: docker, tags: docker }
  8. - { role: etcd, tags: etcd }
  9. - hosts: k8s-cluster
  10. roles:
  11. - { role: kubernetes/preinstall, tags: preinstall }
  12. - { role: docker, tags: docker }
  13. - { role: etcd, tags: etcd }
  14. - { role: kubernetes/node, tags: node }
  15. - { role: network_plugin, tags: network }
  16. - hosts: kube-master
  17. roles:
  18. - { role: kubernetes/master, tags: master }
  19. - hosts: k8s-cluster
  20. roles:
  21. - { role: dnsmasq, tags: dnsmasq }
  22. - hosts: kube-master[0]
  23. roles:
  24. - {role: kubernetes-apps, tags: apps}