ansible-playbook [core 2.16.14] 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-thd 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_check_cron.yml ************************************************* 1 plays in /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml PLAY [Ensure that the cron is set up] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Thursday 20 November 2025 12:12:52 -0500 (0:00:00.017) 0:00:00.017 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Thursday 20 November 2025 12:12:54 -0500 (0:00:01.184) 0:00:01.201 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:14 Thursday 20 November 2025 12:12:54 -0500 (0:00:00.427) 0:00:01.629 ***** ok: [managed-node1] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [Install crontabs] ******************************************************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 Thursday 20 November 2025 12:12:54 -0500 (0:00:00.030) 0:00:01.660 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 Thursday 20 November 2025 12:13:09 -0500 (0:00:15.017) 0:00:16.677 ***** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_3cxc6htx_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Thursday 20 November 2025 12:13:10 -0500 (0:00:00.444) 0:00:17.122 ***** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_3cxc6htx_crontab", "gid": 0, "group": "root", "md5sum": "c39252b11aad842fcb75e05c6a27eef8", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 451, "src": "/etc/crontab", "state": "file", "uid": 0 } TASK [Run the role and set up cron] ******************************************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:39 Thursday 20 November 2025 12:13:10 -0500 (0:00:00.423) 0:00:17.545 ***** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 20 November 2025 12:13:10 -0500 (0:00:00.035) 0:00:17.580 ***** included: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 20 November 2025 12:13:10 -0500 (0:00:00.018) 0:00:17.599 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__aide_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 20 November 2025 12:13:10 -0500 (0:00:00.033) 0:00:17.633 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __aide_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 20 November 2025 12:13:10 -0500 (0:00:00.015) 0:00:17.649 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __aide_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 20 November 2025 12:13:10 -0500 (0:00:00.015) 0:00:17.664 ***** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 20 November 2025 12:13:10 -0500 (0:00:00.028) 0:00:17.693 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.16-14.el8_5.1.x86_64" ] } TASK [fedora.linux_system_roles.aide : Get AIDE version] *********************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 20 November 2025 12:13:14 -0500 (0:00:03.501) 0:00:21.194 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "aide", "--version" ], "delta": "0:00:00.007042", "end": "2025-11-20 12:13:14.511978", "rc": 0, "start": "2025-11-20 12:13:14.504936" } 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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 20 November 2025 12:13:14 -0500 (0:00:00.438) 0:00:21.633 ***** ok: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:26 Thursday 20 November 2025 12:13:14 -0500 (0:00:00.036) 0:00:21.670 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Thursday 20 November 2025 12:13:14 -0500 (0:00:00.013) 0:00:21.683 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:46 Thursday 20 November 2025 12:13:14 -0500 (0:00:00.015) 0:00:21.699 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:47.435101", "end": "2025-11-20 12:14:02.346011", "rc": 0, "start": "2025-11-20 12:13:14.910910" } STDOUT: Start timestamp: 2025-11-20 12:13:14 -0500 (AIDE 0.16) AIDE initialized database at /var/lib/aide/aide.db.new.gz Number of entries: 55427 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : fJOxzaUr3o0rU6k3IZzaKQ== SHA1 : xu3E0PAsOsnmAfptpWsxmh7zVgE= RMD160 : XZnjYvPEybUfiMSLCJzF+zFpcck= TIGER : XwY2ofqYW8c5Qv5kaObW7f8aYkQavuXP SHA256 : yBZ5WaymEoE7pdKGunhjQ7iE6faeAPc+ L8Gz/uDtbHc= SHA512 : UQ0mayc+0MJc4cPRyIblusYpx+KWFvDG /17DMyLtKMz9SOJ29RZjOcc8K1qbg3Jc 1aopmsG62Px8uSb7lu02Ew== End timestamp: 2025-11-20 12:14:02 -0500 (run time: 0m 48s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:51 Thursday 20 November 2025 12:14:02 -0500 (0:00:47.777) 0:01:09.476 ***** changed: [managed-node1] => { "changed": true, "checksum": "572d286184e68f7d8e51ee85796ece2aed0947ae", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "57d68e352f4c49681d11228bc82cd953", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 3092158, "src": "/var/lib/aide/aide.db.new.gz", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:62 Thursday 20 November 2025 12:14:02 -0500 (0:00:00.432) 0:01:09.908 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/aide/aide.db.new.gz", "state": "absent" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Thursday 20 November 2025 12:14:03 -0500 (0:00:00.482) 0:01:10.390 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:76 Thursday 20 November 2025 12:14:03 -0500 (0:00:00.030) 0:01:10.420 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:84 Thursday 20 November 2025 12:14:03 -0500 (0:00:00.032) 0:01:10.453 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:94 Thursday 20 November 2025 12:14:03 -0500 (0:00:00.029) 0:01:10.483 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:102 Thursday 20 November 2025 12:14:03 -0500 (0:00:00.030) 0:01:10.513 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 Thursday 20 November 2025 12:14:03 -0500 (0:00:00.044) 0:01:10.558 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:117 Thursday 20 November 2025 12:14:03 -0500 (0:00:00.046) 0:01:10.604 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:122 Thursday 20 November 2025 12:14:03 -0500 (0:00:00.049) 0:01:10.653 ***** changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:131 Thursday 20 November 2025 12:14:04 -0500 (0:00:00.557) 0:01:11.211 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not aide_cron_check | bool", "skip_reason": "Conditional result was False" } TASK [Check file content] ****************************************************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 Thursday 20 November 2025 12:14:04 -0500 (0:00:00.061) 0:01:11.273 ***** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:56 Thursday 20 November 2025 12:14:04 -0500 (0:00:00.375) 0:01:11.648 ***** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 20 November 2025 12:14:04 -0500 (0:00:00.067) 0:01:11.716 ***** included: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 20 November 2025 12:14:04 -0500 (0:00:00.023) 0:01:11.739 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__aide_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 20 November 2025 12:14:04 -0500 (0:00:00.042) 0:01:11.782 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __aide_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 20 November 2025 12:14:04 -0500 (0:00:00.020) 0:01:11.803 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __aide_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 20 November 2025 12:14:04 -0500 (0:00:00.019) 0:01:11.822 ***** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 20 November 2025 12:14:04 -0500 (0:00:00.032) 0:01:11.854 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.aide : Get AIDE version] *********************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 20 November 2025 12:14:07 -0500 (0:00:02.466) 0:01:14.321 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "aide", "--version" ], "delta": "0:00:00.006342", "end": "2025-11-20 12:14:07.528279", "rc": 0, "start": "2025-11-20 12:14:07.521937" } 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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.326) 0:01:14.648 ***** ok: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:26 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.046) 0:01:14.694 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.013) 0:01:14.707 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:46 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.017) 0:01:14.725 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:51 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.034) 0:01:14.759 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:62 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.032) 0:01:14.792 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.033) 0:01:14.826 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:76 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.033) 0:01:14.859 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:84 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.032) 0:01:14.892 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:94 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.032) 0:01:14.924 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:102 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.034) 0:01:14.959 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.030) 0:01:14.989 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:117 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.031) 0:01:15.021 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:122 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.030) 0:01:15.052 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:131 Thursday 20 November 2025 12:14:07 -0500 (0:00:00.018) 0:01:15.070 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_cron_check is not none", "skip_reason": "Conditional result was False" } TASK [Ensure file is not changed] ********************************************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Thursday 20 November 2025 12:14:08 -0500 (0:00:00.020) 0:01:15.091 ***** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:71 Thursday 20 November 2025 12:14:08 -0500 (0:00:00.329) 0:01:15.420 ***** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 20 November 2025 12:14:08 -0500 (0:00:00.054) 0:01:15.475 ***** included: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 20 November 2025 12:14:08 -0500 (0:00:00.020) 0:01:15.495 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__aide_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 20 November 2025 12:14:08 -0500 (0:00:00.038) 0:01:15.534 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __aide_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 20 November 2025 12:14:08 -0500 (0:00:00.018) 0:01:15.552 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __aide_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 20 November 2025 12:14:08 -0500 (0:00:00.017) 0:01:15.570 ***** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 20 November 2025 12:14:08 -0500 (0:00:00.031) 0:01:15.601 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.aide : Get AIDE version] *********************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 20 November 2025 12:14:11 -0500 (0:00:02.483) 0:01:18.085 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "aide", "--version" ], "delta": "0:00:00.006644", "end": "2025-11-20 12:14:11.322361", "rc": 0, "start": "2025-11-20 12:14:11.315717" } 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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.363) 0:01:18.448 ***** ok: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:26 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.058) 0:01:18.507 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.019) 0:01:18.526 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:46 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.027) 0:01:18.553 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:51 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.047) 0:01:18.601 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:62 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.036) 0:01:18.638 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.032) 0:01:18.670 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:76 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.033) 0:01:18.703 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:84 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.036) 0:01:18.739 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:94 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.041) 0:01:18.781 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:102 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.034) 0:01:18.815 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.032) 0:01:18.848 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:117 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.030) 0:01:18.879 ***** skipping: [managed-node1] => { "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-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:122 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.032) 0:01:18.912 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_cron_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary] *** task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:131 Thursday 20 November 2025 12:14:11 -0500 (0:00:00.036) 0:01:18.948 ***** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Thursday 20 November 2025 12:14:12 -0500 (0:00:00.355) 0:01:19.304 ***** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Thursday 20 November 2025 12:14:12 -0500 (0:00:00.348) 0:01:19.653 ***** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/etc/crontab", "gid": 0, "group": "root", "md5sum": "c39252b11aad842fcb75e05c6a27eef8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:system_cron_spool_t:s0", "size": 451, "src": "/tmp/aide_3cxc6htx_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Thursday 20 November 2025 12:14:12 -0500 (0:00:00.336) 0:01:19.989 ***** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_3cxc6htx_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=28 changed=11 unreachable=0 failed=0 skipped=49 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 20 November 2025 12:14:13 -0500 (0:00:00.345) 0:01:20.335 ***** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 47.78s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:46 Install crontabs ------------------------------------------------------- 15.02s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.50s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.48s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.47s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.18s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.56s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:122 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.48s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:62 Create tempfile for crontab backup -------------------------------------- 0.44s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 fedora.linux_system_roles.aide : Get AIDE version ----------------------- 0.44s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.43s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:51 Check if system is ostree ----------------------------------------------- 0.43s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Backup crontab ---------------------------------------------------------- 0.42s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Check file content ------------------------------------------------------ 0.38s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 fedora.linux_system_roles.aide : Get AIDE version ----------------------- 0.36s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.36s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:131 Ensure aide cron is removed --------------------------------------------- 0.35s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Delete tempfile --------------------------------------------------------- 0.35s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Restore crontab --------------------------------------------------------- 0.34s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Ensure file is not changed ---------------------------------------------- 0.33s /tmp/collections-thd/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62