ansible-playbook [core 2.16.19] 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-UZ7 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-UZ7/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-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:3 Saturday 11 July 2026 08:02:06 -0400 (0:00:00.017) 0:00:00.017 ********* ok: [managed-node2] TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:6 Saturday 11 July 2026 08:02:07 -0400 (0:00:01.034) 0:00:01.052 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1783771325.9608018, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1783771077.566, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 11930, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/journal/dev-log", "lnk_target": "/run/systemd/journal/dev-log", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1783771077.566, "nlink": 1, "path": "/dev/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 28, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:11 Saturday 11 July 2026 08:02:07 -0400 (0:00:00.472) 0:00:01.525 ********* ok: [managed-node2] => { "ansible_facts": { "__journal_start_time": "2026-07-11 08:02:06" }, "changed": false } TASK [Run the role] ************************************************************ task path: /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:16 Saturday 11 July 2026 08:02:07 -0400 (0:00:00.015) 0:00:01.541 ********* included: /tmp/collections-UZ7/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-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml:9 Saturday 11 July 2026 08:02:07 -0400 (0:00:00.029) 0:00:01.570 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 08:02:07 -0400 (0:00:00.000) 0:00:01.570 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 08:02:07 -0400 (0:00:00.021) 0:00:01.592 ********* TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 11 July 2026 08:02:07 -0400 (0:00:00.070) 0:00:01.662 ********* included: /tmp/collections-UZ7/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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 11 July 2026 08:02:07 -0400 (0:00:00.014) 0:00:01.677 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.aide : Record role begin fingerprint] ********** task path: /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:7 Saturday 11 July 2026 08:02:08 -0400 (0:00:00.528) 0:00:02.206 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:16 Saturday 11 July 2026 08:02:08 -0400 (0:00:00.442) 0:00:02.648 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:21 Saturday 11 July 2026 08:02:09 -0400 (0:00:00.320) 0:00:02.969 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:25 Saturday 11 July 2026 08:02:09 -0400 (0:00:00.022) 0:00:02.991 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 11 July 2026 08:02:09 -0400 (0:00:00.034) 0:00:03.025 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:18 Saturday 11 July 2026 08:02:12 -0400 (0:00:02.847) 0:00:05.873 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "aide", "--version" ], "delta": "0:00:00.006148", "end": "2026-07-11 08:02:12.506775", "rc": 0, "start": "2026-07-11 08:02:12.500627" } 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:26 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.418) 0:00:06.291 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:32 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.019) 0:00:06.311 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:39 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.010) 0:00:06.322 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:54 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.016) 0:00:06.338 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:59 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.017) 0:00:06.356 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:70 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.017) 0:00:06.373 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.021) 0:00:06.395 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:86 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.021) 0:00:06.416 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:96 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.021) 0:00:06.437 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:106 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.021) 0:00:06.458 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:116 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.020) 0:00:06.479 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:126 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.021) 0:00:06.500 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:131 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.020) 0:00:06.521 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:136 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.020) 0:00:06.542 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:145 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.023) 0:00:06.565 ********* 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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:154 Saturday 11 July 2026 08:02:12 -0400 (0:00:00.026) 0:00:06.592 ********* ok: [managed-node2] => { "changed": false } TASK [Check system journal contains role fingerprints] ************************* task path: /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:20 Saturday 11 July 2026 08:02:13 -0400 (0:00:00.341) 0:00:06.934 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-07-11 08:02:06\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*begin system_role:aide\" || { echo ERROR: BEGIN fingerprint not found; exit 1; }; journalctl --since \"2026-07-11 08:02:06\" --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.013311", "end": "2026-07-11 08:02:13.463724", "rc": 0, "start": "2026-07-11 08:02:13.450413" } STDOUT: Jul 11 08:02:08 managed-node2 platform-python[10130]: ansible-fedora.linux_system_roles.sr_fingerprint begin system_role:aide ansible_version=2.16.19 CentOS-8 2026-07-11T08:02:08-04:00 Jul 11 08:02:13 managed-node2 platform-python[10692]: ansible-fedora.linux_system_roles.sr_fingerprint success system_role:aide ansible_version=2.16.19 CentOS-8 2026-07-11T08:02:13-04:00 TASK [Check if the file exists] ************************************************ task path: /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:34 Saturday 11 July 2026 08:02:13 -0400 (0:00:00.311) 0:00:07.246 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1783771293.932581, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d8f4124014a08f0cb3f5d8e235450530c7aff67", "ctime": 1783771293.6255789, "dev": 66305, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 157286594, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1783771293.2875764, "nlink": 1, "path": "/etc/aide.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7111, "uid": 0, "version": "854759613", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:39 Saturday 11 July 2026 08:02:13 -0400 (0:00:00.323) 0:00:07.569 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=16 changed=0 unreachable=0 failed=0 skipped=16 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 11 July 2026 08:02:13 -0400 (0:00:00.017) 0:00:07.587 ********* =============================================================================== fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.85s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.03s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:3 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.53s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 See if /dev/log exists for the fingerprint check ------------------------ 0.47s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:6 fedora.linux_system_roles.aide : Record role begin fingerprint ---------- 0.44s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:7 fedora.linux_system_roles.aide : Get AIDE version ----------------------- 0.42s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:18 fedora.linux_system_roles.aide : Record role success fingerprint -------- 0.34s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:154 Check if the file exists ------------------------------------------------ 0.32s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:34 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.32s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:16 Check system journal contains role fingerprints ------------------------- 0.31s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:20 Run the role normally --------------------------------------------------- 0.07s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml:33 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:25 Run the role ------------------------------------------------------------ 0.03s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:16 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.03s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:145 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.02s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:136 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.02s /tmp/collections-UZ7/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-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:70 Run the role ------------------------------------------------------------ 0.02s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/tests/aide/tasks/run_role_with_clear_facts.yml:23 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.02s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:116 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.02s /tmp/collections-UZ7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:86