Skip to content

Commit

Permalink
change back to service module in auditd-handler after restesting beha…
Browse files Browse the repository at this point in the history
…viour. also removing tags on redundant places as suggested.
  • Loading branch information
snoopotic committed Feb 15, 2020
1 parent deb93bc commit 4f4bfde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
command: 'update-initramfs -u'

- name: restart-auditd
command:
cmd: 'service auditd restart' # rhel: see: https://access.redhat.com/solutions/2664811
warn: no # sadly 'service' module fails in that case also by using 'use: service'
service:
name: auditd
state: restarted
use: service
1 change: 0 additions & 1 deletion tasks/auditd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
group: 'root'
mode: '0640'
notify: 'restart-auditd'
tags: auditd

0 comments on commit 4f4bfde

Please sign in to comment.