ansible-playbook [core 2.16.18] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-0l0 executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:3 Wednesday 22 April 2026 12:36:13 -0400 (0:00:00.021) 0:00:00.021 ******* ok: [managed-node2] TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:6 Wednesday 22 April 2026 12:36:14 -0400 (0:00:01.111) 0:00:01.133 ******* ok: [managed-node2] => { "ansible_facts": { "__journal_start_time": "2026-04-22 12:36:14" }, "changed": false } TASK [Run the role] ************************************************************ task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:10 Wednesday 22 April 2026 12:36:14 -0400 (0:00:00.017) 0:00:01.151 ******* included: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml:9 Wednesday 22 April 2026 12:36:14 -0400 (0:00:00.016) 0:00:01.167 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml:23 Wednesday 22 April 2026 12:36:14 -0400 (0:00:00.000) 0:00:01.168 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml:33 Wednesday 22 April 2026 12:36:14 -0400 (0:00:00.040) 0:00:01.208 ******* TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Wednesday 22 April 2026 12:36:14 -0400 (0:00:00.158) 0:00:01.366 ******* included: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Wednesday 22 April 2026 12:36:14 -0400 (0:00:00.022) 0:00:01.388 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.aide : Record role begin fingerprint] ********** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:7 Wednesday 22 April 2026 12:36:14 -0400 (0:00:00.513) 0:00:01.902 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:16 Wednesday 22 April 2026 12:36:15 -0400 (0:00:00.410) 0:00:02.312 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:21 Wednesday 22 April 2026 12:36:15 -0400 (0:00:00.428) 0:00:02.741 ******* ok: [managed-node2] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:25 Wednesday 22 April 2026 12:36:15 -0400 (0:00:00.022) 0:00:02.763 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Wednesday 22 April 2026 12:36:15 -0400 (0:00:00.033) 0:00:02.797 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.aide : Get AIDE version] *********************** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Wednesday 22 April 2026 12:36:18 -0400 (0:00:02.799) 0:00:05.597 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "aide", "--version" ], "delta": "0:00:00.005983", "end": "2026-04-22 12:36:19.009246", "rc": 0, "start": "2026-04-22 12:36:19.003263" } STDERR: Aide 0.16 Compiled with the following options: WITH_MMAP WITH_PCRE WITH_POSIX_ACL WITH_SELINUX WITH_XATTR WITH_E2FSATTRS WITH_LSTAT64 WITH_READDIR64 WITH_ZLIB WITH_CURL WITH_GCRYPT WITH_AUDIT CONFIG_FILE = "/etc/aide.conf" TASK [fedora.linux_system_roles.aide : Set AIDE version] *********************** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.424) 0:00:06.021 ******* ok: [managed-node2] => { "ansible_facts": { "aide_version": "0.16" }, "changed": false } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:26 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.021) 0:00:06.043 ******* skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.010) 0:00:06.054 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_config_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:46 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.017) 0:00:06.071 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_init | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:51 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.011) 0:00:06.083 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_init | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:62 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.011) 0:00:06.095 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_init | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.011) 0:00:06.106 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_fetch_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:76 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.011) 0:00:06.118 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_fetch_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:84 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.011) 0:00:06.130 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check against AIDE reference database] *** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:94 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.013) 0:00:06.143 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update AIDE database] ******************* task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:102 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.011) 0:00:06.154 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.014) 0:00:06.169 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:117 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.019) 0:00:06.188 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update aide check cron configuration if necessary] *** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:122 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.022) 0:00:06.211 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_cron_check is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary] *** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:131 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.023) 0:00:06.234 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_cron_check is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Record role success fingerprint] ******** task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:140 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.023) 0:00:06.258 ******* ok: [managed-node2] => { "changed": false } TASK [Check system journal contains role fingerprints] ************************* task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:14 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.312) 0:00:06.570 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-04-22 12:36:14\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*begin system_role:aide\" || { echo ERROR: BEGIN fingerprint not found; exit 1; }; journalctl --since \"2026-04-22 12:36:14\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*success system_role:aide\" || { echo ERROR: SUCCESS fingerprint not found; exit 1; }", "delta": "0:00:00.013150", "end": "2026-04-22 12:36:19.873882", "rc": 0, "start": "2026-04-22 12:36:19.860732" } STDOUT: Apr 22 12:36:15 managed-node2 platform-python[9857]: ansible-fedora.linux_system_roles.sr_fingerprint begin system_role:aide ansible_version=2.16.18 CentOS-8 2026-04-22T12:36:15-04:00 Apr 22 12:36:19 managed-node2 platform-python[10419]: ansible-fedora.linux_system_roles.sr_fingerprint success system_role:aide ansible_version=2.16.18 CentOS-8 2026-04-22T12:36:19-04:00 TASK [Check if the file exists] ************************************************ task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:25 Wednesday 22 April 2026 12:36:19 -0400 (0:00:00.313) 0:00:06.884 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1776875717.1921027, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d8f4124014a08f0cb3f5d8e235450530c7aff67", "ctime": 1776875716.8821015, "dev": 66305, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 155189442, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1776875716.5181, "nlink": 1, "path": "/etc/aide.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7111, "uid": 0, "version": "3289093676", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:30 Wednesday 22 April 2026 12:36:20 -0400 (0:00:00.315) 0:00:07.199 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=15 changed=0 unreachable=0 failed=0 skipped=16 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 22 April 2026 12:36:20 -0400 (0:00:00.014) 0:00:07.214 ******* =============================================================================== fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.80s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.11s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:3 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.51s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.43s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:16 fedora.linux_system_roles.aide : Get AIDE version ----------------------- 0.42s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 fedora.linux_system_roles.aide : Record role begin fingerprint ---------- 0.41s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:7 Check if the file exists ------------------------------------------------ 0.32s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:25 Check system journal contains role fingerprints ------------------------- 0.31s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:14 fedora.linux_system_roles.aide : Record role success fingerprint -------- 0.31s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:140 Run the role normally --------------------------------------------------- 0.16s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml:33 Run the role ------------------------------------------------------------ 0.04s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml:23 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:25 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.02s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:131 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.02s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:122 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.02s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:21 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.02s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:117 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.02s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Set AIDE version ----------------------- 0.02s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.02s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 fedora.linux_system_roles.aide : Generate "/etc/aide.conf" -------------- 0.02s /tmp/collections-0l0/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33