use full service name for handler

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2023-11-21 23:04:41 +01:00
1 parent 571cec1a5c
commit 0f6b8e4a3a
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@
- name: Restart auditd via systemd
ansible.builtin.systemd:
name: auditd
name: auditd.service
state: restarted
when:
- molecule_yml.driver.name | default() != "docker" # restarting auditd in a container does not work