mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-05 21:33:30 +01:00
add a permission check for write the systemd k3s config
This commit is contained in:
parent
681cd981ab
commit
df44053349
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue