Fix suggestions

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 b84e29c40e
commit 82cb4bbf35
4 changed files with 5 additions and 11 deletions
-3
View File
@@ -1,3 +0,0 @@
# SPDX-License-Identifier: MIT
# Write extra requirements for running pylint here:
-7
View File
@@ -1,7 +0,0 @@
# SPDX-License-Identifier: MIT
# Write extra requirements for running pytest here:
# If you need ansible then uncomment the following line:
-ransible_pytest_extra_requirements.txt
# If you need mock then uncomment the following line:
mock ; python_version < "3.0"
+3 -1
View File
@@ -42,6 +42,7 @@
- name: Initialize AIDE database
ansible.builtin.command:
cmd: aide --init
changed_when: true
- name: Fetch AIDE database
ansible.builtin.fetch:
@@ -72,7 +73,7 @@
- name: Check against AIDE reference database
ansible.builtin.command:
cmd: aide --check
changed_when: false
changed_when: true
- name: Update AIDE database and fetch it
become: true
@@ -85,6 +86,7 @@
cmd: aide --update
register: __aide_update_result
failed_when: __aide_update_result.rc > 7
changed_when: true
- name: Fetch AIDE database
ansible.builtin.fetch:
+2
View File
@@ -1,3 +1,5 @@
{{ ansible_managed | comment }}
{{ "system_role:aide" | comment(prefix="", postfix="") }}
# Example configuration file for AIDE.
@@define DBDIR /var/lib/aide