Initial ansible onboard
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Aide Check
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
{% if ansible_os_family == 'Debian' %}
|
||||
ExecStart=/usr/bin/aide --check --config /etc/aide/aide.conf
|
||||
{% else %}
|
||||
ExecStart=/usr/sbin/aide --check
|
||||
{% endif %}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Aide check every day at midnight
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 00:00:00
|
||||
Unit=aidecheck.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user