feat: Import code for role

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
This commit is contained in:
Radovan Sroka
2024-11-12 11:15:10 +01:00
committed by Sergei Petrosian
parent 1b526b93ea
commit b84e29c40e
19 changed files with 552 additions and 115 deletions
+13 -6
View File
@@ -1,9 +1,16 @@
# SPDX-License-Identifier: MIT
---
- name: Example aide role invocation
hosts: all
vars:
aide_foo: example variable value
aide_bar: false
roles:
- linux-system-roles.aide
hosts: targets
tasks:
- name: Include role aide
tags:
- install
- generate_config
- init
- check
- update
vars:
aide_db_fetch_dir: files
ansible.builtin.include_role:
name: linux-system-roles.aide