Skip to content
cluster.yml 655 B
Newer Older
Smaine Kahlouch's avatar
Smaine Kahlouch committed
---
- hosts: all
  gather_facts: true

- hosts: etcd:!k8s-cluster
  roles:
    - { role: kubernetes/preinstall, tags: preinstall }
    - { role: etcd, tags: etcd }

- hosts: k8s-cluster
  roles:
    - { role: kubernetes/preinstall, tags: preinstall }
    - { role: etcd, tags: etcd }
Antoine Legrand's avatar
Antoine Legrand committed
    - { role: kubernetes/node, tags: node }
    - { role: network_plugin, tags: network }
Smaine Kahlouch's avatar
Smaine Kahlouch committed

Smaine Kahlouch's avatar
Smaine Kahlouch committed
- hosts: kube-master
  roles:
    - { role: kubernetes/preinstall, tags: preinstall }
Smaine Kahlouch's avatar
Smaine Kahlouch committed
    - { role: kubernetes/master, tags: master }
ant31's avatar
ant31 committed

- hosts: k8s-cluster
ant31's avatar
ant31 committed
  roles:
    - { role: dnsmasq, tags: dnsmasq }

- hosts: kube-master[0]
  roles:
    - {role: kubernetes-apps, tags: apps}