Skip to content

Commit

Permalink
Fix suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: Radovan Sroka <[email protected]>
  • Loading branch information
radosroka committed Nov 7, 2024
1 parent 24fabfd commit f852360
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
3 changes: 0 additions & 3 deletions pylint_extra_requirements.txt

This file was deleted.

7 changes: 0 additions & 7 deletions pytest_extra_requirements.txt

This file was deleted.

4 changes: 3 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
- name: Initialize AIDE database
ansible.builtin.command:
cmd: aide --init
changed_when: true

- name: Fetch AIDE database
ansible.builtin.fetch:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions templates/aide.conf.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{{ ansible_managed | comment }}
{{ "system_role:aide" | comment(prefix="", postfix="") }}
# Example configuration file for AIDE.

@@define DBDIR /var/lib/aide
Expand Down

0 comments on commit f852360

Please sign in to comment.