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-78e 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.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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-78e/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-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 18 January 2025 07:35:18 -0500 (0:00:00.007) 0:00:00.007 ****** ok: [managed-node1] TASK [Install crontabs] ******************************************************** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Saturday 18 January 2025 07:35:20 -0500 (0:00:01.300) 0:00:01.307 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crontabs TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Saturday 18 January 2025 07:35:34 -0500 (0:00:14.490) 0:00:15.798 ****** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_jz85_9hk_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Saturday 18 January 2025 07:35:35 -0500 (0:00:00.418) 0:00:16.217 ****** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_jz85_9hk_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-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25 Saturday 18 January 2025 07:35:35 -0500 (0:00:00.444) 0:00:16.661 ****** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:35:35 -0500 (0:00:00.051) 0:00:16.713 ****** included: /tmp/collections-78e/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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:35:35 -0500 (0:00:00.019) 0:00:16.733 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:35:35 -0500 (0:00:00.033) 0:00:16.766 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:35:36 -0500 (0:00:00.413) 0:00:17.180 ****** ok: [managed-node1] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:35:36 -0500 (0:00:00.022) 0:00:17.202 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:35:36 -0500 (0:00:00.031) 0:00:17.234 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.16-14.el8_5.1.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:35:40 -0500 (0:00:03.980) 0:00:21.215 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:35:40 -0500 (0:00:00.022) 0:00:21.237 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_db_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:35:40 -0500 (0:00:00.027) 0:00:21.265 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:48.624982", "end": "2025-01-18 07:36:29.183554", "rc": 0, "start": "2025-01-18 07:35:40.558572" } STDOUT: Start timestamp: 2025-01-18 07:35:40 -0500 (AIDE 0.16) AIDE initialized database at /var/lib/aide/aide.db.new.gz Number of entries: 55426 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : VoKlWAT4K/ORaKTXPn7o4g== SHA1 : 3CxTjOuRnQ7kfaA3MF3WO5f4m38= RMD160 : RZ67PBq0bTnaTJfMlblXcHdzbkw= TIGER : dG4xlu8IRgzp5gV6Pn3ypEhjpcB5PAe0 SHA256 : MsQAJTfRUzsG6PmQKN0UeYGlNfy3nnW6 u86VKshnIAo= SHA512 : wtBM1oNKl4tW0kC47pApTGNy4ZVpn4EW 8BuOnFV2TPwB5fZllJkv3unMeuNHmIjr s+AxTRZewWkMWfuLridQxw== End timestamp: 2025-01-18 07:36:29 -0500 (run time: 0m 49s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:36:29 -0500 (0:00:49.071) 0:01:10.336 ****** changed: [managed-node1] => { "changed": true, "checksum": "2260ef730e5afb7c8541b60575e85c195e96311c", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "a4e28d0104be8ce57261534b02349503", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 3092099, "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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:36:29 -0500 (0:00:00.384) 0:01:10.721 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:36:30 -0500 (0:00:00.509) 0:01:11.230 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:36:30 -0500 (0:00:00.050) 0:01:11.281 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:36:30 -0500 (0:00:00.045) 0:01:11.326 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:36:30 -0500 (0:00:00.046) 0:01:11.373 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:36:30 -0500 (0:00:00.048) 0:01:11.422 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:36:30 -0500 (0:00:00.045) 0:01:11.467 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:36:30 -0500 (0:00:00.033) 0:01:11.501 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:36:30 -0500 (0:00:00.033) 0:01:11.535 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:36:30 -0500 (0:00:00.489) 0:01:12.025 ****** 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-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Saturday 18 January 2025 07:36:30 -0500 (0:00:00.053) 0:01:12.078 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Saturday 18 January 2025 07:36:31 -0500 (0:00:00.339) 0:01:12.417 ****** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:36:31 -0500 (0:00:00.057) 0:01:12.474 ****** included: /tmp/collections-78e/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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:36:31 -0500 (0:00:00.019) 0:01:12.494 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:36:31 -0500 (0:00:00.037) 0:01:12.532 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:36:31 -0500 (0:00:00.019) 0:01:12.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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:36:31 -0500 (0:00:00.017) 0:01:12.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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:36:31 -0500 (0:00:00.031) 0:01:12.601 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:36:34 -0500 (0:00:02.838) 0:01:15.440 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.019) 0:01:15.459 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_db_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.028) 0:01:15.487 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.043) 0:01:15.531 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.045) 0:01:15.577 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.040) 0:01:15.617 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.046) 0:01:15.663 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.045) 0:01:15.709 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.046) 0:01:15.756 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.046) 0:01:15.802 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.041) 0:01:15.844 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.048) 0:01:15.893 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.045) 0:01:15.938 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.026) 0:01:15.965 ****** 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-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Saturday 18 January 2025 07:36:34 -0500 (0:00:00.029) 0:01:15.995 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Saturday 18 January 2025 07:36:35 -0500 (0:00:00.414) 0:01:16.410 ****** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:36:35 -0500 (0:00:00.087) 0:01:16.497 ****** included: /tmp/collections-78e/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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:36:35 -0500 (0:00:00.036) 0:01:16.533 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:36:35 -0500 (0:00:00.053) 0:01:16.587 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:36:35 -0500 (0:00:00.017) 0:01:16.605 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:36:35 -0500 (0:00:00.019) 0:01:16.624 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:36:35 -0500 (0:00:00.033) 0:01:16.657 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:36:38 -0500 (0:00:02.823) 0:01:19.481 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.012) 0:01:19.493 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_db_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.016) 0:01:19.510 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.029) 0:01:19.540 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.029) 0:01:19.570 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.029) 0:01:19.599 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.029) 0:01:19.629 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.028) 0:01:19.657 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.031) 0:01:19.689 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.029) 0:01:19.718 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.029) 0:01:19.748 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.028) 0:01:19.777 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.029) 0:01:19.806 ****** 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-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:36:38 -0500 (0:00:00.033) 0:01:19.840 ****** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Saturday 18 January 2025 07:36:39 -0500 (0:00:00.353) 0:01:20.194 ****** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Saturday 18 January 2025 07:36:39 -0500 (0:00:00.349) 0:01:20.543 ****** 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_jz85_9hk_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Saturday 18 January 2025 07:36:39 -0500 (0:00:00.365) 0:01:20.909 ****** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_jz85_9hk_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=22 changed=11 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 18 January 2025 07:36:40 -0500 (0:00:00.358) 0:01:21.267 ****** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 49.07s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 14.49s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.98s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.84s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.82s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.30s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.51s /tmp/collections-78e/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.49s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Backup crontab ---------------------------------------------------------- 0.44s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Create tempfile for crontab backup -------------------------------------- 0.42s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Ensure file is not changed ---------------------------------------------- 0.41s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.41s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.38s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Restore crontab --------------------------------------------------------- 0.37s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Delete tempfile --------------------------------------------------------- 0.36s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.35s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Ensure aide cron is removed --------------------------------------------- 0.35s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Check file content ------------------------------------------------------ 0.34s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Run the role and disable cron ------------------------------------------- 0.09s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Run the role and and do not touch cron ---------------------------------- 0.06s /tmp/collections-78e/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42