Files
docker-ansible/kube-cluster/roles/k3s-node/tasks/main.yaml
Bernhard Radermacher 459d124159 node installation
2025-08-27 05:54:16 +00:00

17 lines
359 B
YAML

---
- name: Copy Configuration
ansible.builtin.template:
src: config.yaml.j2
dest: /etc/rancher/k3s/config.yaml
owner: root
group: root
mode: "644"
become: True
- name: Run Installation
ansible.builtin.command:
cmd: curl -sfL https://get.k3s.io | sh -s - agent
creates: /etc/systemd/system/k3s-agent.service
become: True