refactor ♻️: Refactor service reload command to use systemd_service
Updated the service reload command to utilize the `systemd_service` module, enhancing compatibility and maintainability.
This commit is contained in:
@@ -12,4 +12,5 @@
|
|||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Reload systemd
|
- name: Reload systemd
|
||||||
ansible.builtin.command: systemctl daemon-reexec
|
ansible.builtin.systemd_service:
|
||||||
|
daemon_reexec: true
|
||||||
|
|||||||
Reference in New Issue
Block a user