2018-07-20 21:54:32 +02:00
|
|
|
---
|
2018-09-18 04:00:12 +02:00
|
|
|
- hosts: k8s_proxy:k8s_masters:k8s_workers
|
|
|
|
|
roles:
|
|
|
|
|
- role: proxy
|
|
|
|
|
tags: proxy
|
2018-09-20 00:35:06 +02:00
|
|
|
- role: docker
|
|
|
|
|
tags: docker
|
2018-09-20 01:14:41 +02:00
|
|
|
- hosts: k8s_masters
|
|
|
|
|
roles:
|
|
|
|
|
- role: etcd
|
|
|
|
|
tags: etcd
|
2018-09-18 04:00:12 +02:00
|
|
|
#- hosts: localhost
|
|
|
|
|
# become: yes
|
|
|
|
|
# gather_facts: no
|
|
|
|
|
# roles:
|
|
|
|
|
# - role: harden-linux
|
|
|
|
|
# tags: role-harden-linux
|
|
|
|
|
# - role: githubixx.peervpn
|
|
|
|
|
# tags: role-peervpn
|
|
|
|
|
#- hosts: k8s
|
|
|
|
|
# vars:
|
|
|
|
|
# ansible_user: ubuntu
|
|
|
|
|
# gather_facts: no
|
|
|
|
|
# roles:
|
|
|
|
|
# - role: harden-linux
|
|
|
|
|
# tags: role-harden-linux
|
|
|
|
|
#- hosts: all
|
|
|
|
|
# become: yes
|
|
|
|
|
# roles:
|
|
|
|
|
# - role: peervpn
|
|
|
|
|
# tags: role-peervpn
|
|
|
|
|
#- hosts: k8s_ca
|
|
|
|
|
# become: yes
|
|
|
|
|
# gather_facts: no
|
|
|
|
|
# roles:
|
|
|
|
|
# - role: cfssl
|
|
|
|
|
# tags: role-cfssl
|
|
|
|
|
# - role: kubernetes-ca
|
|
|
|
|
# tags: role-kubernetes-ca
|
|
|
|
|
#- hosts: k8s_etcd
|
|
|
|
|
# become: yes
|
|
|
|
|
# gather_facts: no
|
|
|
|
|
# roles:
|
|
|
|
|
# - role: etcd
|
|
|
|
|
# tags: role-etcd
|
|
|
|
|
#- hosts: k8s_master
|
|
|
|
|
# gather_facts: no
|
|
|
|
|
# roles:
|
|
|
|
|
# - role: kubernetes-controller
|
|
|
|
|
# tags: role-kubernetes-controller
|
|
|
|
|
#- hosts: k8s_worker
|
|
|
|
|
# gather_facts: no
|
|
|
|
|
# roles:
|
|
|
|
|
# - role: githubixx.kubernetes-worker
|
|
|
|
|
# tags: role-kubernetes-worker
|
|
|
|
|
#- hosts: k8s
|
|
|
|
|
# gather_facts: no
|
|
|
|
|
# roles:
|
|
|
|
|
# - role: githubixx.flanneld
|
|
|
|
|
# tags: role-kubernetes-flanneld
|
|
|
|
|
# - role: githubixx.docker
|
|
|
|
|
# tags: role-docker
|