ansible-playbook [core 2.17.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-ohi executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/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-ohi/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-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 18 October 2025 07:22:23 -0400 (0:00:00.018) 0:00:00.018 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Saturday 18 October 2025 07:22:25 -0400 (0:00:02.224) 0:00:02.242 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:14 Saturday 18 October 2025 07:22:25 -0400 (0:00:00.523) 0:00:02.765 ****** ok: [managed-node1] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [Install crontabs] ******************************************************** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 Saturday 18 October 2025 07:22:25 -0400 (0:00:00.021) 0:00:02.786 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crontabs TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 Saturday 18 October 2025 07:22:37 -0400 (0:00:11.360) 0:00:14.147 ****** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_ocszmauf_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Saturday 18 October 2025 07:22:37 -0400 (0:00:00.404) 0:00:14.551 ****** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_ocszmauf_crontab", "gid": 0, "group": "root", "md5sum": "c39252b11aad842fcb75e05c6a27eef8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:system_cron_spool_t:s0", "size": 451, "src": "/etc/crontab", "state": "file", "uid": 0 } TASK [Run the role and set up cron] ******************************************** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:39 Saturday 18 October 2025 07:22:38 -0400 (0:00:00.424) 0:00:14.976 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 October 2025 07:22:38 -0400 (0:00:00.032) 0:00:15.008 ****** included: /tmp/collections-ohi/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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 October 2025 07:22:38 -0400 (0:00:00.019) 0:00:15.027 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 October 2025 07:22:38 -0400 (0:00:00.033) 0:00:15.060 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 October 2025 07:22:38 -0400 (0:00:00.018) 0:00:15.079 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 October 2025 07:22:38 -0400 (0:00:00.018) 0:00:15.097 ****** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 October 2025 07:22:38 -0400 (0:00:00.031) 0:00:15.129 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.19.2-4.el9.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 October 2025 07:22:40 -0400 (0:00:01.949) 0:00:17.078 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 October 2025 07:22:40 -0400 (0:00:00.014) 0:00:17.093 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 October 2025 07:22:40 -0400 (0:00:00.016) 0:00:17.110 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:43.054502", "end": "2025-10-18 07:23:23.781553", "rc": 0, "start": "2025-10-18 07:22:40.727051" } STDOUT: Start timestamp: 2025-10-18 07:22:40 -0400 (AIDE 0.19.2) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 54449 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz SHA256 : jnai8EcyiLHhXJ6OWwbRCjPadR2WVJ/q EBwambiYI+U= SHA512 : Lz08ZANGysE2ZDPANixZnm18iu3vZRrV sKkIPFQCyVhWZnbGl26o89bWoP0XGzFv /gaaCpvIxQjlsYuoKHD6Tg== STRIBOG256: XirDVQJDlF4smbvONxa+ePqk9jkJVq0T fGAzsKu7JCE= STRIBOG512: +1JWjag0aFKZ9iT92Pyl4IkV4f0Df+S2 OPX13Y9Tcbvnb95qdbtqCTS4FIhDVVep K/K8zm5TsDAPEb2cF+swUg== SHA512/256: XJsnqhQ+HqzimT+/gwYOBZVj9G4kMvo/ /pc1zG74wNc= SHA3-256 : OTDrFfE/VGVHSlU/0PAsl3PznJVNuzvx pmWVMXOFHj8= SHA3-512 : Qo2yynMx0Aa4bd2t+lGE4TT59f1yQOWi A2nib6X0bBBbt/WLr0md3/q4cEW1Y039 dCA8MPKuC1FctPrpI9jB2g== End timestamp: 2025-10-18 07:23:23 -0400 (run time: 0m 43s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 October 2025 07:23:23 -0400 (0:00:43.535) 0:01:00.645 ****** changed: [managed-node1] => { "changed": true, "checksum": "c4522e9ff8be8a92a7387640d1ab05c7cd9c0651", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "6aac776d9979e1db952e25b2c22a8550", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4405850, "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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 October 2025 07:23:24 -0400 (0:00:00.375) 0:01:01.021 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 October 2025 07:23:24 -0400 (0:00:00.468) 0:01:01.490 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 October 2025 07:23:24 -0400 (0:00:00.028) 0:01:01.518 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 October 2025 07:23:24 -0400 (0:00:00.027) 0:01:01.546 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 October 2025 07:23:24 -0400 (0:00:00.028) 0:01:01.574 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 October 2025 07:23:24 -0400 (0:00:00.027) 0:01:01.602 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 October 2025 07:23:24 -0400 (0:00:00.027) 0:01:01.630 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 October 2025 07:23:24 -0400 (0:00:00.028) 0:01:01.658 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 October 2025 07:23:24 -0400 (0:00:00.027) 0:01:01.686 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 October 2025 07:23:25 -0400 (0:00:00.445) 0:01:02.131 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 Saturday 18 October 2025 07:23:25 -0400 (0:00:00.038) 0:01:02.169 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:56 Saturday 18 October 2025 07:23:25 -0400 (0:00:00.386) 0:01:02.556 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 October 2025 07:23:25 -0400 (0:00:00.040) 0:01:02.596 ****** included: /tmp/collections-ohi/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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 October 2025 07:23:25 -0400 (0:00:00.018) 0:01:02.614 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 October 2025 07:23:25 -0400 (0:00:00.031) 0:01:02.645 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 October 2025 07:23:25 -0400 (0:00:00.015) 0:01:02.660 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 October 2025 07:23:25 -0400 (0:00:00.015) 0:01:02.676 ****** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 October 2025 07:23:25 -0400 (0:00:00.028) 0:01:02.704 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 October 2025 07:23:26 -0400 (0:00:00.899) 0:01:03.604 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 October 2025 07:23:26 -0400 (0:00:00.012) 0:01:03.617 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 October 2025 07:23:26 -0400 (0:00:00.016) 0:01:03.633 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 October 2025 07:23:26 -0400 (0:00:00.027) 0:01:03.661 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 October 2025 07:23:26 -0400 (0:00:00.028) 0:01:03.690 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 October 2025 07:23:26 -0400 (0:00:00.027) 0:01:03.717 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 October 2025 07:23:26 -0400 (0:00:00.028) 0:01:03.746 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 October 2025 07:23:26 -0400 (0:00:00.029) 0:01:03.775 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 October 2025 07:23:26 -0400 (0:00:00.029) 0:01:03.805 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.028) 0:01:03.833 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.029) 0:01:03.863 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.029) 0:01:03.892 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.029) 0:01:03.922 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.015) 0:01:03.937 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.018) 0:01:03.955 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:71 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.333) 0:01:04.288 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.047) 0:01:04.336 ****** included: /tmp/collections-ohi/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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.018) 0:01:04.354 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.033) 0:01:04.388 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.016) 0:01:04.405 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.016) 0:01:04.421 ****** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 October 2025 07:23:27 -0400 (0:00:00.032) 0:01:04.453 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.958) 0:01:05.412 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.012) 0:01:05.424 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.016) 0:01:05.440 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.029) 0:01:05.470 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.028) 0:01:05.498 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.027) 0:01:05.526 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.026) 0:01:05.553 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.027) 0:01:05.580 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.027) 0:01:05.608 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.027) 0:01:05.636 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.027) 0:01:05.663 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.027) 0:01:05.691 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.027) 0:01:05.718 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 October 2025 07:23:28 -0400 (0:00:00.031) 0:01:05.749 ****** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Saturday 18 October 2025 07:23:29 -0400 (0:00:00.404) 0:01:06.154 ****** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Saturday 18 October 2025 07:23:29 -0400 (0:00:00.351) 0:01:06.506 ****** 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_ocszmauf_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Saturday 18 October 2025 07:23:30 -0400 (0:00:00.335) 0:01:06.841 ****** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_ocszmauf_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=25 changed=11 unreachable=0 failed=0 skipped=49 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 18 October 2025 07:23:30 -0400 (0:00:00.329) 0:01:07.171 ****** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 43.54s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 11.36s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 Gathering Facts --------------------------------------------------------- 2.22s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.95s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 0.96s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 0.90s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Check if system is ostree ----------------------------------------------- 0.52s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.47s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.45s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Backup crontab ---------------------------------------------------------- 0.42s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Create tempfile for crontab backup -------------------------------------- 0.40s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.40s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Check file content ------------------------------------------------------ 0.39s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.38s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Ensure aide cron is removed --------------------------------------------- 0.35s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Restore crontab --------------------------------------------------------- 0.34s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Ensure file is not changed ---------------------------------------------- 0.33s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Delete tempfile --------------------------------------------------------- 0.33s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Run the role and disable cron ------------------------------------------- 0.05s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:71 Run the role and and do not touch cron ---------------------------------- 0.04s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:56