use full service name for handler
Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
1 parent
571cec1a5c
commit
0f6b8e4a3a
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user