Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# disruption = low
- name: "Ensure AIDE is installed"
package:
name:
- aide
- crontabs
name: "{{ item }}"
state: present
with_items:
- aide

- name: Set cron package name - RedHat
set_fact:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# platform = Red Hat Virtualization 4,multi_platform_fedora,multi_platform_ol,multi_platform_rhel,multi_platform_sle

{{{ bash_package_install("aide") }}}
{{{ bash_package_install("crontabs") }}}

if ! grep -q "{{{ aide_bin_path }}} --check" /etc/crontab ; then
echo "05 4 * * * root {{{ aide_bin_path }}} --check" >> /etc/crontab
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# platform = multi_platform_ubuntu

{{{ bash_package_install("aide") }}}
{{{ bash_package_install("crontabs") }}}

# AiDE usually adds its own cron jobs to /etc/cron.daily. If script is there, this rule is
# compliant. Otherwise, we copy the script to the /etc/cron.weekly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

- name: "Ensure AIDE is installed"
package:
name:
- aide
- crontabs
name: "{{ item }}"
state: present
with_items:
- aide

- name: "{{{ rule_title }}}"
cron:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# platform = multi_platform_all

{{{ bash_package_install("aide") }}}
{{{ bash_package_install("crontabs") }}}
{{{ bash_instantiate_variables("var_aide_scan_notification_email") }}}

CRONTAB=/etc/crontab
Expand Down