add a permission check for write the systemd k3s config

This commit is contained in:
nolte 2020-05-09 20:53:25 +02:00
parent 681cd981ab
commit df44053349
1 changed files with 1 additions and 0 deletions

View File

@ -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