26 lines
520 B
YAML
26 lines
520 B
YAML
- name: Common setup
|
|
hosts: all
|
|
roles:
|
|
- common
|
|
- kubernetes_common
|
|
|
|
# # ========================
|
|
# # SETUP KUBERNETES CLUSTER
|
|
# # ========================
|
|
|
|
# - name: Initialise Kubernetes cluster
|
|
# hosts: masters[0]
|
|
# roles:
|
|
# - kubernetes_master
|
|
|
|
# # =======================
|
|
# # JOIN MASTERS TO CLUSTER
|
|
# # =======================
|
|
|
|
# - name: Adkfk
|
|
# hosts: masters[0]
|
|
# tasks:
|
|
# - name: Generate Kubernetes 'join' command
|
|
# ansible.builtin.command: echo hi
|
|
# changed_when: true
|