1
0
Fork 0
home-stack-ansible/roles/k3s-agent/tasks/main.yml

15 lines
269 B
YAML

- name: Copy k3s service file
register: k3s_service
template:
src: k3s.service
dest: /etc/systemd/system/k3s.service
owner: root
group: root
mode: 0644
- name: Enable k3s service
systemd:
name: k3s
daemon_reload: yes
enabled: yes