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>
17 lines
464 B
YAML
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
|