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.

40 lines
818 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: all
  9. gather_facts: true
  10. - hosts: all
  11. roles:
  12. - { role: kubernetes/preinstall, tags: preinstall }
  13. - hosts: etcd:!k8s-cluster
  14. roles:
  15. - { role: etcd, tags: etcd }
  16. - hosts: k8s-cluster
  17. roles:
  18. - { role: etcd, tags: etcd }
  19. - { role: kubernetes/node, tags: node }
  20. - { role: network_plugin, tags: network }
  21. - hosts: kube-master
  22. roles:
  23. - { role: kubernetes/master, tags: master }
  24. - { role: kubernetes-apps/lib, tags: apps }
  25. - { role: kubernetes-apps/network_plugin, tags: network }
  26. - hosts: k8s-cluster
  27. roles:
  28. - { role: dnsmasq, tags: dnsmasq }
  29. - hosts: kube-master[0]
  30. roles:
  31. - { role: kubernetes-apps/lib, tags: apps }
  32. - { role: kubernetes-apps, tags: apps }