ansible-playbook [core 2.17.10] 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-eaf executable location = /usr/local/bin/ansible-playbook python version = 3.12.9 (main, Feb 4 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-4)] (/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 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-eaf/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-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 05 April 2025 07:24:19 -0400 (0:00:00.008) 0:00:00.008 ******** [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-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Saturday 05 April 2025 07:24:21 -0400 (0:00:02.384) 0:00:02.392 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:14 Saturday 05 April 2025 07:24:22 -0400 (0:00:00.445) 0:00:02.838 ******** ok: [managed-node1] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [Install crontabs] ******************************************************** task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 Saturday 05 April 2025 07:24:22 -0400 (0:00:00.024) 0:00:02.863 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crontabs TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 Saturday 05 April 2025 07:24:38 -0400 (0:00:16.287) 0:00:19.151 ******** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_wy50rqty_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Saturday 05 April 2025 07:24:38 -0400 (0:00:00.423) 0:00:19.574 ******** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_wy50rqty_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-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:39 Saturday 05 April 2025 07:24:39 -0400 (0:00:00.444) 0:00:20.018 ******** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 05 April 2025 07:24:39 -0400 (0:00:00.034) 0:00:20.053 ******** included: /tmp/collections-eaf/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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 05 April 2025 07:24:39 -0400 (0:00:00.022) 0:00:20.075 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 05 April 2025 07:24:39 -0400 (0:00:00.044) 0:00:20.120 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 05 April 2025 07:24:39 -0400 (0:00:00.026) 0:00:20.146 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 05 April 2025 07:24:39 -0400 (0:00:00.024) 0:00:20.170 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 05 April 2025 07:24:39 -0400 (0:00:00.046) 0:00:20.217 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 05 April 2025 07:24:42 -0400 (0:00:02.660) 0:00:22.878 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 05 April 2025 07:24:42 -0400 (0:00:00.017) 0:00:22.895 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 05 April 2025 07:24:42 -0400 (0:00:00.019) 0:00:22.915 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:37.385168", "end": "2025-04-05 07:25:20.102809", "rc": 0, "start": "2025-04-05 07:24:42.717641" } STDOUT: Start timestamp: 2025-04-05 07:24:42 -0400 (AIDE 0.16) AIDE initialized database at /var/lib/aide/aide.db.new.gz Number of entries: 53008 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : GPGQSrmH1VyomMaR5ma7UA== SHA1 : pA9TFU1+gvnsrlSl+b8+iUsXiYI= RMD160 : PrmuvFd0s4ukf4WIbrwB440QR/Q= TIGER : of2tNlXzLJxVYnN+iie/PaNCnz1wc1oD SHA256 : XC/Bo0ehH4EG3FrxKMlbs2qnaFVB3Z/O iJJEUEQ5bjE= SHA512 : Lg4MF64iUgQbjxNgBZaAmV8TR4ACQbSp xnLhdHKhqCmMoZGsyKtrbxElMggAvFah I6yHJenzIBLRMGxHSxjGUw== End timestamp: 2025-04-05 07:25:20 -0400 (run time: 0m 38s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 05 April 2025 07:25:20 -0400 (0:00:37.870) 0:01:00.786 ******** changed: [managed-node1] => { "changed": true, "checksum": "7d93e9caaf7130032c0effa6b49b4b05fbea3419", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "ac683b5b56baf1cdc50e2a2c0f465e05", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 2890066, "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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 05 April 2025 07:25:20 -0400 (0:00:00.379) 0:01:01.166 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 05 April 2025 07:25:21 -0400 (0:00:00.496) 0:01:01.662 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 05 April 2025 07:25:21 -0400 (0:00:00.043) 0:01:01.705 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 05 April 2025 07:25:21 -0400 (0:00:00.053) 0:01:01.758 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 05 April 2025 07:25:21 -0400 (0:00:00.047) 0:01:01.806 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 05 April 2025 07:25:21 -0400 (0:00:00.046) 0:01:01.853 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 05 April 2025 07:25:21 -0400 (0:00:00.042) 0:01:01.895 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 05 April 2025 07:25:21 -0400 (0:00:00.036) 0:01:01.931 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 05 April 2025 07:25:21 -0400 (0:00:00.031) 0:01:01.962 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 05 April 2025 07:25:21 -0400 (0:00:00.502) 0:01:02.465 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 Saturday 05 April 2025 07:25:21 -0400 (0:00:00.054) 0:01:02.519 ******** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:56 Saturday 05 April 2025 07:25:22 -0400 (0:00:00.359) 0:01:02.878 ******** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 05 April 2025 07:25:22 -0400 (0:00:00.048) 0:01:02.927 ******** included: /tmp/collections-eaf/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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 05 April 2025 07:25:22 -0400 (0:00:00.034) 0:01:02.962 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 05 April 2025 07:25:22 -0400 (0:00:00.053) 0:01:03.015 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 05 April 2025 07:25:22 -0400 (0:00:00.030) 0:01:03.046 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 05 April 2025 07:25:22 -0400 (0:00:00.028) 0:01:03.074 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 05 April 2025 07:25:22 -0400 (0:00:00.049) 0:01:03.124 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 05 April 2025 07:25:23 -0400 (0:00:01.265) 0:01:04.389 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 05 April 2025 07:25:23 -0400 (0:00:00.016) 0:01:04.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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 05 April 2025 07:25:23 -0400 (0:00:00.024) 0:01:04.430 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 05 April 2025 07:25:23 -0400 (0:00:00.042) 0:01:04.472 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 05 April 2025 07:25:23 -0400 (0:00:00.035) 0:01:04.508 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 05 April 2025 07:25:23 -0400 (0:00:00.033) 0:01:04.542 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 05 April 2025 07:25:23 -0400 (0:00:00.032) 0:01:04.574 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 05 April 2025 07:25:23 -0400 (0:00:00.033) 0:01:04.607 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.033) 0:01:04.641 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.032) 0:01:04.673 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.034) 0:01:04.707 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.034) 0:01:04.742 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.039) 0:01:04.781 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.026) 0:01:04.808 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.030) 0:01:04.838 ******** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:71 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.364) 0:01:05.203 ******** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.053) 0:01:05.257 ******** included: /tmp/collections-eaf/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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.022) 0:01:05.280 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.054) 0:01:05.334 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.028) 0:01:05.362 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.032) 0:01:05.394 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 05 April 2025 07:25:24 -0400 (0:00:00.056) 0:01:05.451 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 05 April 2025 07:25:26 -0400 (0:00:01.296) 0:01:06.748 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.013) 0:01:06.761 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.019) 0:01:06.781 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.037) 0:01:06.818 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.033) 0:01:06.852 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.033) 0:01:06.885 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.033) 0:01:06.919 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.033) 0:01:06.952 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.032) 0:01:06.984 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.032) 0:01:07.017 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.033) 0:01:07.051 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.034) 0:01:07.085 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.032) 0:01:07.118 ******** 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-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.037) 0:01:07.155 ******** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Saturday 05 April 2025 07:25:26 -0400 (0:00:00.384) 0:01:07.540 ******** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Saturday 05 April 2025 07:25:27 -0400 (0:00:00.370) 0:01:07.911 ******** 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_wy50rqty_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Saturday 05 April 2025 07:25:27 -0400 (0:00:00.340) 0:01:08.252 ******** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_wy50rqty_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=25 changed=11 unreachable=0 failed=0 skipped=49 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 05 April 2025 07:25:27 -0400 (0:00:00.345) 0:01:08.597 ******** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 37.87s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 16.29s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.66s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 2.38s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.30s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.27s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.50s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.50s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Check if system is ostree ----------------------------------------------- 0.45s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Backup crontab ---------------------------------------------------------- 0.44s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Create tempfile for crontab backup -------------------------------------- 0.42s /tmp/collections-eaf/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.38s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.38s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Ensure aide cron is removed --------------------------------------------- 0.37s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Ensure file is not changed ---------------------------------------------- 0.36s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Check file content ------------------------------------------------------ 0.36s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 Delete tempfile --------------------------------------------------------- 0.35s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Restore crontab --------------------------------------------------------- 0.34s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.06s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.05s /tmp/collections-eaf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118