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.

50 lines
1.1 KiB

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