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.

36 lines
817 B

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