Files
ansible-role-aide/tests/tests_custom_template.yml
T
Joerg KastningandRichard Megginson 8ce6fe0da5 Changed ansible_db_template to ansible_config_template
As the template is for the aide.conf(5) file I found
that the variable name 'ansible_config_template' is
a better fit than 'ansible_db_template'.

Signed-off-by: Joerg Kastning <joerg@redhat.com>
2025-02-10 09:33:34 -07:00

17 lines
464 B
YAML

# SPDX-License-Identifier: MIT
---
- name: Ensure that the role runs with default parameters
hosts: all
roles:
- role: linux-system-roles.aide
vars:
aide_config_template: files/aide-custom.conf.j2
aide_install: true
aide_init: true
tasks:
- name: Check header for ansible_managed, fingerprint
include_tasks: tasks/check_header.yml
vars:
__file: /etc/aide.conf
__fingerprint: system_role:aide