add a permission check for write the systemd k3s config
This commit is contained in:
parent
681cd981ab
commit
df44053349
|
@ -44,6 +44,7 @@
|
|||
template:
|
||||
src: k3s.service.j2
|
||||
dest: /etc/systemd/system/k3s.service
|
||||
become: "{{ k3s_become_for_systemd | ternary(true, false, k3s_become_for_all) }}"
|
||||
notify:
|
||||
- reload systemd
|
||||
- restart k3s
|
||||
|
|
Loading…
Reference in New Issue