From b8f9c895fc0f36af459abd937efefdbf4545659d Mon Sep 17 00:00:00 2001 From: Florian Utz Date: Mon, 6 May 2019 23:05:32 +0200 Subject: [PATCH] restore idempotency install nullmailer instead of postfix when no MTA is installed for AIDE --- tasks/section1.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tasks/section1.yml b/tasks/section1.yml index 48328bf..0c616ab 100644 --- a/tasks/section1.yml +++ b/tasks/section1.yml @@ -527,6 +527,22 @@ - rule_1.2.3 - notimplemented +- name: "SCORED | 1.3.1 | PATCH | Ensure AIDE is installed (install nullmailer instead of postfix)" + apt: + name: + - nullmailer + state: present + install_recommends: false + when: + - ubuntu1804cis_rule_1_3_1 + - not postfix_installed.rc == 0 + tags: + - level1 + - scored + - aide + - patch + - rule_1.3.1 + - name: "SCORED | 1.3.1 | PATCH | Ensure AIDE is installed" apt: name: