-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add restart-auditd handler as after configuration change (e.g. of os_…
…auditd_max_log_file_action) you need to restart. Sadly on rhel7 systems you cannot use systemd. And as debian derivates use service as alias and it works I kept it that simple. also adding 'auditd'-tag to make it easy only run that config change if needed.
- Loading branch information
Felix Herzog
committed
Feb 13, 2020
1 parent
060b15a
commit af3b648
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
--- | ||
- name: update-initramfs | ||
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters