ansible-playbook [core 2.17.8] 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-kie executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-kie/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-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Monday 10 February 2025 11:18:58 -0500 (0:00:00.007) 0:00:00.007 ******* [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-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Monday 10 February 2025 11:19:00 -0500 (0:00:02.347) 0:00:02.354 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:14 Monday 10 February 2025 11:19:00 -0500 (0:00:00.431) 0:00:02.785 ******* ok: [managed-node1] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [Install crontabs] ******************************************************** task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 Monday 10 February 2025 11:19:00 -0500 (0:00:00.023) 0:00:02.808 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 Monday 10 February 2025 11:19:16 -0500 (0:00:16.138) 0:00:18.947 ******* changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_1rli_1hx_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Monday 10 February 2025 11:19:17 -0500 (0:00:00.429) 0:00:19.377 ******* changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_1rli_1hx_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-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:39 Monday 10 February 2025 11:19:17 -0500 (0:00:00.414) 0:00:19.792 ******* included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Monday 10 February 2025 11:19:17 -0500 (0:00:00.032) 0:00:19.825 ******* included: /tmp/collections-kie/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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Monday 10 February 2025 11:19:17 -0500 (0:00:00.019) 0:00:19.844 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Monday 10 February 2025 11:19:17 -0500 (0:00:00.033) 0:00:19.878 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Monday 10 February 2025 11:19:17 -0500 (0:00:00.017) 0:00:19.895 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Monday 10 February 2025 11:19:17 -0500 (0:00:00.017) 0:00:19.913 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Monday 10 February 2025 11:19:17 -0500 (0:00:00.040) 0:00:19.953 ******* changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.16-103.el9.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Monday 10 February 2025 11:19:21 -0500 (0:00:03.070) 0:00:23.024 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Monday 10 February 2025 11:19:21 -0500 (0:00:00.014) 0:00:23.038 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Monday 10 February 2025 11:19:21 -0500 (0:00:00.019) 0:00:23.058 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:36.711252", "end": "2025-02-10 11:19:58.177735", "rc": 0, "start": "2025-02-10 11:19:21.466483" } STDOUT: Start timestamp: 2025-02-10 11:19:21 -0500 (AIDE 0.16) AIDE initialized database at /var/lib/aide/aide.db.new.gz Number of entries: 52657 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : 1X2J7aTjZzPm8ZNWdcgxsw== SHA1 : kSQKlcDdl/tyKXd2FEaN+TrO6oE= RMD160 : hRLpuF6uLmFkhovRuwhjMwjQNwg= TIGER : cCnzflpmPNHM+vnZ1WDnltNm3O1N5ME8 SHA256 : /+BbO4Xrx+q7U5md4w7S3ZnBCouGApL6 evwlSxgzhYU= SHA512 : +jt9/A+moTK6INMgi8d2f8RhOMTu1l8M xGtDl9CSwZCISsTcZYTFFZ/Jc4kwhuKZ VLbCuOOGea8EpUUhoWxuCQ== End timestamp: 2025-02-10 11:19:58 -0500 (run time: 0m 37s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Monday 10 February 2025 11:19:58 -0500 (0:00:37.143) 0:01:00.202 ******* changed: [managed-node1] => { "changed": true, "checksum": "a93598e20879d94d488d74b35807e5384080faf0", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "292e75eafb0d1459dbeb628c609d8004", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 2876705, "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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Monday 10 February 2025 11:19:58 -0500 (0:00:00.365) 0:01:00.567 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Monday 10 February 2025 11:19:59 -0500 (0:00:00.425) 0:01:00.993 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Monday 10 February 2025 11:19:59 -0500 (0:00:00.029) 0:01:01.023 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Monday 10 February 2025 11:19:59 -0500 (0:00:00.029) 0:01:01.052 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Monday 10 February 2025 11:19:59 -0500 (0:00:00.028) 0:01:01.081 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Monday 10 February 2025 11:19:59 -0500 (0:00:00.029) 0:01:01.110 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Monday 10 February 2025 11:19:59 -0500 (0:00:00.028) 0:01:01.139 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Monday 10 February 2025 11:19:59 -0500 (0:00:00.028) 0:01:01.167 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Monday 10 February 2025 11:19:59 -0500 (0:00:00.028) 0:01:01.196 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Monday 10 February 2025 11:19:59 -0500 (0:00:00.426) 0:01:01.623 ******* 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-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 Monday 10 February 2025 11:19:59 -0500 (0:00:00.036) 0:01:01.660 ******* ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:56 Monday 10 February 2025 11:20:00 -0500 (0:00:00.317) 0:01:01.977 ******* included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Monday 10 February 2025 11:20:00 -0500 (0:00:00.041) 0:01:02.018 ******* included: /tmp/collections-kie/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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Monday 10 February 2025 11:20:00 -0500 (0:00:00.019) 0:01:02.038 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Monday 10 February 2025 11:20:00 -0500 (0:00:00.033) 0:01:02.072 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Monday 10 February 2025 11:20:00 -0500 (0:00:00.017) 0:01:02.089 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Monday 10 February 2025 11:20:00 -0500 (0:00:00.017) 0:01:02.106 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Monday 10 February 2025 11:20:00 -0500 (0:00:00.029) 0:01:02.136 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Monday 10 February 2025 11:20:01 -0500 (0:00:01.193) 0:01:03.329 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Monday 10 February 2025 11:20:01 -0500 (0:00:00.012) 0:01:03.342 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Monday 10 February 2025 11:20:01 -0500 (0:00:00.016) 0:01:03.359 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Monday 10 February 2025 11:20:01 -0500 (0:00:00.028) 0:01:03.387 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Monday 10 February 2025 11:20:01 -0500 (0:00:00.029) 0:01:03.417 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Monday 10 February 2025 11:20:01 -0500 (0:00:00.028) 0:01:03.445 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Monday 10 February 2025 11:20:01 -0500 (0:00:00.032) 0:01:03.478 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Monday 10 February 2025 11:20:01 -0500 (0:00:00.028) 0:01:03.507 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Monday 10 February 2025 11:20:01 -0500 (0:00:00.029) 0:01:03.537 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Monday 10 February 2025 11:20:01 -0500 (0:00:00.029) 0:01:03.566 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Monday 10 February 2025 11:20:01 -0500 (0:00:00.030) 0:01:03.597 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Monday 10 February 2025 11:20:01 -0500 (0:00:00.030) 0:01:03.628 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Monday 10 February 2025 11:20:01 -0500 (0:00:00.030) 0:01:03.659 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Monday 10 February 2025 11:20:01 -0500 (0:00:00.016) 0:01:03.675 ******* 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-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Monday 10 February 2025 11:20:01 -0500 (0:00:00.019) 0:01:03.695 ******* ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:71 Monday 10 February 2025 11:20:02 -0500 (0:00:00.329) 0:01:04.024 ******* included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Monday 10 February 2025 11:20:02 -0500 (0:00:00.050) 0:01:04.075 ******* included: /tmp/collections-kie/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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Monday 10 February 2025 11:20:02 -0500 (0:00:00.019) 0:01:04.094 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Monday 10 February 2025 11:20:02 -0500 (0:00:00.034) 0:01:04.129 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Monday 10 February 2025 11:20:02 -0500 (0:00:00.016) 0:01:04.145 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Monday 10 February 2025 11:20:02 -0500 (0:00:00.017) 0:01:04.163 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Monday 10 February 2025 11:20:02 -0500 (0:00:00.030) 0:01:04.193 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Monday 10 February 2025 11:20:03 -0500 (0:00:01.200) 0:01:05.394 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Monday 10 February 2025 11:20:03 -0500 (0:00:00.012) 0:01:05.406 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Monday 10 February 2025 11:20:03 -0500 (0:00:00.017) 0:01:05.424 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Monday 10 February 2025 11:20:03 -0500 (0:00:00.033) 0:01:05.457 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Monday 10 February 2025 11:20:03 -0500 (0:00:00.034) 0:01:05.491 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Monday 10 February 2025 11:20:03 -0500 (0:00:00.030) 0:01:05.522 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Monday 10 February 2025 11:20:03 -0500 (0:00:00.030) 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Monday 10 February 2025 11:20:03 -0500 (0:00:00.030) 0:01:05.583 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Monday 10 February 2025 11:20:03 -0500 (0:00:00.029) 0:01:05.613 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Monday 10 February 2025 11:20:03 -0500 (0:00:00.030) 0:01:05.643 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Monday 10 February 2025 11:20:03 -0500 (0:00:00.029) 0:01:05.672 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Monday 10 February 2025 11:20:03 -0500 (0:00:00.029) 0:01:05.702 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Monday 10 February 2025 11:20:03 -0500 (0:00:00.029) 0:01:05.731 ******* 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-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Monday 10 February 2025 11:20:03 -0500 (0:00:00.034) 0:01:05.765 ******* changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Monday 10 February 2025 11:20:04 -0500 (0:00:00.347) 0:01:06.113 ******* changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Monday 10 February 2025 11:20:04 -0500 (0:00:00.323) 0:01:06.436 ******* 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_1rli_1hx_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Monday 10 February 2025 11:20:04 -0500 (0:00:00.324) 0:01:06.760 ******* changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_1rli_1hx_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=25 changed=11 unreachable=0 failed=0 skipped=49 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Monday 10 February 2025 11:20:05 -0500 (0:00:00.321) 0:01:07.081 ******* =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 37.14s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 16.14s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.07s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 2.35s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.20s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.19s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Check if system is ostree ----------------------------------------------- 0.43s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Create tempfile for crontab backup -------------------------------------- 0.43s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.43s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.43s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Backup crontab ---------------------------------------------------------- 0.41s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.37s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.35s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Ensure file is not changed ---------------------------------------------- 0.33s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Restore crontab --------------------------------------------------------- 0.32s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Ensure aide cron is removed --------------------------------------------- 0.32s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Delete tempfile --------------------------------------------------------- 0.32s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Check file content ------------------------------------------------------ 0.32s /tmp/collections-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 Run the role and disable cron ------------------------------------------- 0.05s /tmp/collections-kie/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-kie/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:56