26 lines
538 B
YAML
26 lines
538 B
YAML
|
---
|
||
|
- hosts: all
|
||
|
gather_facts: yes
|
||
|
roles:
|
||
|
- include_role:
|
||
|
name: remove_swap
|
||
|
- include_role:
|
||
|
name: kubernetes/any
|
||
|
- include_role:
|
||
|
name: kubernetes/controlplane
|
||
|
when: is_controlplane
|
||
|
- include_role:
|
||
|
name: kubernetes/node
|
||
|
when: not is_controlplane
|
||
|
|
||
|
# - hosts: controlplane
|
||
|
# gather_facts: yes
|
||
|
# become: yes
|
||
|
# tasks:
|
||
|
# - name: "MetalLB role"
|
||
|
# include_role:
|
||
|
# name: metallb
|
||
|
# when: "additional_features.metallb"
|
||
|
# run_once: yes
|
||
|
# tags: metallb
|