ansible_role_aide

Ansible role service manager

Managing aide.

Build Status

License

MIT / BSD

Author Information

Requirements

  • Ensure a package manager is available and configured with the correct package sources and repositories.
  • Ensure privileged permissions are set for the user executing this role to:
    • Install packages.
    • Manage service settings and configurations.

Dependencies

N/A

Compatibility

Compatible with the following list of operating systems:

  • CentOS 7
  • CentOS 8
  • RHEL 7.x
  • RHEL 8.x

Role Variables

Variable name Description
role_aide_packages A list of packages to install.
role_aide_db Path to aide db.
role_aide_new Path to new aide db.

Example Playbook

---
- name: Manage aide
  become: True
  gather_facts: True
  tasks:
    - import_role:
        name: ansible_role_aide
      vars:
        role_aide_packages:
          - cronie
          - aide
        role_aide_db: /var/lib/aide/aide.db.gz
        role_aide_new: /var/lib/aide/aide.db.new.gz

...

Useful shell commands

/usr/sbin/aide --init
/usr/sbin/aide --check

Additional documentation resources

Testing with Molecule

This role is locally tested with the use of Molecule, the configuration is located at: molecule/default.
The Molecule tests are run (using the docker driver) on Dockerhub images built for this purpose:

CI/CD with Travis CI

This role uses Travis CI to run online tests with the use of Molecule and pushes notifications to import the role into Ansible Galaxy once the tests are successful. The Travis CI configuration is located at the root of the Ansible role .travis.yml

Install
ansible-galaxy install Caseraw/ansible_role_aide
GitHub repository
License
Unknown
Downloads
25
Owner
DevOps | RHCA | Red Hat Accelerator