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.

48 lines
1.0 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. - hosts: etcd:!k8s-cluster
  17. any_errors_fatal: true
  18. roles:
  19. - { role: etcd, tags: etcd }
  20. - hosts: k8s-cluster
  21. any_errors_fatal: true
  22. roles:
  23. - { role: etcd, tags: etcd }
  24. - { role: kubernetes/node, tags: node }
  25. - { role: network_plugin, tags: network }
  26. - hosts: kube-master
  27. any_errors_fatal: true
  28. roles:
  29. - { role: kubernetes/master, tags: master }
  30. - { role: kubernetes-apps/lib, tags: apps }
  31. - { role: kubernetes-apps/network_plugin, tags: network }
  32. - hosts: k8s-cluster
  33. any_errors_fatal: true
  34. roles:
  35. - { role: dnsmasq, tags: dnsmasq }
  36. - hosts: kube-master[0]
  37. any_errors_fatal: true
  38. roles:
  39. - { role: kubernetes-apps/lib, tags: apps }
  40. - { role: kubernetes-apps, tags: apps }