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.

28 lines
655 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: etcd, tags: etcd }
  8. - hosts: k8s-cluster
  9. roles:
  10. - { role: kubernetes/preinstall, tags: preinstall }
  11. - { role: etcd, tags: etcd }
  12. - { role: kubernetes/node, tags: node }
  13. - { role: network_plugin, tags: network }
  14. - hosts: kube-master
  15. roles:
  16. - { role: kubernetes/preinstall, tags: preinstall }
  17. - { role: kubernetes/master, tags: master }
  18. - hosts: k8s-cluster
  19. roles:
  20. - { role: dnsmasq, tags: dnsmasq }
  21. - hosts: kube-master[0]
  22. roles:
  23. - {role: kubernetes-apps, tags: apps}