Ensure cron test restores state of crontab after test. Fix formatting in a few places. Do not check ansible managed header and fingerprint unless the test uses a custom template with header and fingerprint. Use default for gather_facts unless otherwise needed. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
17 lines
460 B
YAML
17 lines
460 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_db_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
|