Skip to content
cluster.yml 1.1 KiB
Newer Older
Smaine Kahlouch's avatar
Smaine Kahlouch committed
---
ant31's avatar
ant31 committed
  any_errors_fatal: true
  gather_facts: false
  roles:
    - bootstrap-os
  tags:
    - bootstrap-os
ant31's avatar
ant31 committed
  any_errors_fatal: true
  gather_facts: true
- hosts: all:!network-storage
ant31's avatar
ant31 committed
  any_errors_fatal: true
  roles:
    - { role: kubernetes/preinstall, tags: preinstall }
    - { role: docker, tags: docker }

- hosts: etcd:!k8s-cluster
ant31's avatar
ant31 committed
  any_errors_fatal: true
    - { role: etcd, tags: etcd }

- hosts: k8s-cluster
ant31's avatar
ant31 committed
  any_errors_fatal: true
  roles:
    - { 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
ant31's avatar
ant31 committed
  any_errors_fatal: true
Smaine Kahlouch's avatar
Smaine Kahlouch committed
  roles:
    - { role: kubernetes/master, tags: master }
    - { role: kubernetes-apps/lib, tags: apps }
    - { role: kubernetes-apps/network_plugin, tags: network }
ant31's avatar
ant31 committed

- hosts: k8s-cluster
ant31's avatar
ant31 committed
  any_errors_fatal: true
ant31's avatar
ant31 committed
  roles:
    - { role: dnsmasq, tags: dnsmasq }
    - { role: kubernetes/preinstall, tags: resolvconf }

- hosts: kube-master[0]
ant31's avatar
ant31 committed
  any_errors_fatal: true
    - { role: kubernetes-apps/lib, tags: apps }
    - { role: kubernetes-apps, tags: apps }