2020-04-02 15:44:40 +02:00
|
|
|
---
|
2020-04-02 14:57:18 +02:00
|
|
|
- name: Apply common configuration to all nodes
|
|
|
|
hosts: all
|
|
|
|
become: true
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- common
|
|
|
|
|
|
|
|
- name: Configure and deploy Kubernetes master
|
|
|
|
hosts: master
|
|
|
|
become: true
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- master
|
|
|
|
|
|
|
|
- name: Join workers to Kubernetes cluster
|
|
|
|
hosts: worker
|
|
|
|
become: true
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- worker
|