committed by
Sergei Petrosian
parent
b84e29c40e
commit
82cb4bbf35
@@ -1,3 +0,0 @@
|
|||||||
# SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
# Write extra requirements for running pylint here:
|
|
||||||
@@ -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
@@ -42,6 +42,7 @@
|
|||||||
- name: Initialize AIDE database
|
- name: Initialize AIDE database
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: aide --init
|
cmd: aide --init
|
||||||
|
changed_when: true
|
||||||
|
|
||||||
- name: Fetch AIDE database
|
- name: Fetch AIDE database
|
||||||
ansible.builtin.fetch:
|
ansible.builtin.fetch:
|
||||||
@@ -72,7 +73,7 @@
|
|||||||
- name: Check against AIDE reference database
|
- name: Check against AIDE reference database
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: aide --check
|
cmd: aide --check
|
||||||
changed_when: false
|
changed_when: true
|
||||||
|
|
||||||
- name: Update AIDE database and fetch it
|
- name: Update AIDE database and fetch it
|
||||||
become: true
|
become: true
|
||||||
@@ -85,6 +86,7 @@
|
|||||||
cmd: aide --update
|
cmd: aide --update
|
||||||
register: __aide_update_result
|
register: __aide_update_result
|
||||||
failed_when: __aide_update_result.rc > 7
|
failed_when: __aide_update_result.rc > 7
|
||||||
|
changed_when: true
|
||||||
|
|
||||||
- name: Fetch AIDE database
|
- name: Fetch AIDE database
|
||||||
ansible.builtin.fetch:
|
ansible.builtin.fetch:
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
{{ ansible_managed | comment }}
|
||||||
|
{{ "system_role:aide" | comment(prefix="", postfix="") }}
|
||||||
# Example configuration file for AIDE.
|
# Example configuration file for AIDE.
|
||||||
|
|
||||||
@@define DBDIR /var/lib/aide
|
@@define DBDIR /var/lib/aide
|
||||||
|
|||||||
Reference in New Issue
Block a user