Files
casa/nodes/ansible/k3s-control-plane.playbook.yaml

16 lines
493 B
YAML

- name: K3s update instal control plane
hosts:
- casa
become: true
tasks:
- name: setup k3s - control plane
ansible.builtin.shell: "curl -sfL https://get.k3s.io | sh -"
environment:
INSTALL_K3S_VERSION: "{{ k3s_version }}"
INSTALL_K3S_EXEC: "--flannel-backend=none --disable-network-policy --disable=traefik --disable=servicelb"
register: k3s_output
- name: Show output
ansible.builtin.debug:
var: k3s_output.stdout_lines