From fb1c6e923268e7a9306c6cce313d635c6ed405e1 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Fri, 17 Jun 2022 11:24:14 +0100 Subject: [PATCH] added libselinux requirement Signed-off-by: Mark Bolwell --- tasks/prelim.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tasks/prelim.yml b/tasks/prelim.yml index eb17d00..53b1350 100644 --- a/tasks/prelim.yml +++ b/tasks/prelim.yml @@ -82,6 +82,14 @@ - level1-server - level1-workstation +- name: "PRELIM | Ensure python3-libselinux is installed" + package: + name: python3-libselinux + state: present + become: true + when: + - '"python3-libselinux" not in ansible_facts.packages' + - name: "PRELIM | Section 4.1 | Configure System Accounting (auditd)" package: name: audit