k3s-io / k3s-ansible

Apache License 2.0
2.08k stars 822 forks source link

Add a handler to restart the K3s Server when the service file changes #344

Closed peterklijn closed 4 months ago

peterklijn commented 4 months ago

Changes

Introduced a handler to restart the K3s service when a change to the {{ systemd_dir }}/k3s.service is detected.

I ran into the issue several times where I changed something in the template or extra_server_args and did not see my change reflected, and had to restart the service manually to see the change applied. This PR solves that problem

Linked Issues