Properly recreate systemd unit on container update

This commit is contained in:
Thomas Kleinendorst 2024-06-05 16:53:00 +02:00
parent 4fb455c6b4
commit fd2052767d
3 changed files with 9 additions and 9 deletions

View file

@ -1,7 +1,7 @@
---
- name: Reload systemd (daemon-reload)
become: true
become_user: "{{ actual_username }}"
become_user: "{{ container_user }}"
ansible.builtin.systemd_service:
daemon_reload: true
scope: user