|
---
|
|
- 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
|