2021-08-25 04:33:56 +00:00
|
|
|
- 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
|
2022-07-21 00:25:58 +00:00
|
|
|
state: started
|
2021-08-25 04:33:56 +00:00
|
|
|
enabled: yes
|