Remove aide_install phase and do it uncoditionally

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
This commit is contained in:
Radovan Sroka
2024-11-12 11:15:10 +01:00
committed by Sergei Petrosian
parent c4e5a2d8f0
commit 75f11dfe94
10 changed files with 8 additions and 21 deletions
+8 -2
View File
@@ -16,5 +16,11 @@
- name: Assert that the file exists
ansible.builtin.assert:
that:
- not file_check.stat.exists
fail_msg: "The file does exist."
- file_check.stat.exists
fail_msg: "The file does not exist."
- name: Check header for not present ansible_managed, fingerprint
include_tasks: tasks/check_not_present_header.yml
vars:
__file: /etc/aide.conf
__fingerprint: system_role:aide
-1
View File
@@ -6,7 +6,6 @@
roles:
- role: linux-system-roles.aide
vars:
aide_install: true
aide_init: true
tasks:
- name: Check header for ansible_managed, fingerprint