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.13/site-packages/ansible ansible collection location = /tmp/collections-Bdo executable location = /usr/local/bin/ansible-playbook python version = 3.13.1 (main, Dec 9 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) 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-Bdo/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-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Monday 10 February 2025 11:18:38 -0500 (0:00:00.009) 0:00:00.009 ******* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3, 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-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Monday 10 February 2025 11:18:42 -0500 (0:00:03.912) 0:00:03.922 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:14 Monday 10 February 2025 11:18:42 -0500 (0:00:00.590) 0:00:04.512 ******* ok: [managed-node1] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [Install crontabs] ******************************************************** task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 Monday 10 February 2025 11:18:42 -0500 (0:00:00.023) 0:00:04.536 ******* changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: crontabs-1.11^20190603git9e74f2d-4.fc41.noarch", "Installed: cronie-1.7.2-2.fc41.x86_64", "Installed: cronie-anacron-1.7.2-2.fc41.x86_64" ] } TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 Monday 10 February 2025 11:19:14 -0500 (0:00:31.625) 0:00:36.162 ******* changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_a6dp45a0_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Monday 10 February 2025 11:19:14 -0500 (0:00:00.557) 0:00:36.720 ******* changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_a6dp45a0_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-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:39 Monday 10 February 2025 11:19:15 -0500 (0:00:00.529) 0:00:37.249 ******* included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Monday 10 February 2025 11:19:15 -0500 (0:00:00.037) 0:00:37.286 ******* included: /tmp/collections-Bdo/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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Monday 10 February 2025 11:19:15 -0500 (0:00:00.020) 0:00:37.307 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Monday 10 February 2025 11:19:15 -0500 (0:00:00.036) 0:00:37.344 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Monday 10 February 2025 11:19:15 -0500 (0:00:00.030) 0:00:37.375 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Monday 10 February 2025 11:19:15 -0500 (0:00:00.021) 0:00:37.396 ******* 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Monday 10 February 2025 11:19:15 -0500 (0:00:00.034) 0:00:37.431 ******* changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.18.6-5.fc41.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Monday 10 February 2025 11:19:18 -0500 (0:00:02.333) 0:00:39.765 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Monday 10 February 2025 11:19:18 -0500 (0:00:00.016) 0:00:39.781 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Monday 10 February 2025 11:19:18 -0500 (0:00:00.021) 0:00:39.803 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:03:32.546439", "end": "2025-02-10 11:22:51.052741", "rc": 0, "start": "2025-02-10 11:19:18.506302" } STDOUT: Start timestamp: 2025-02-10 11:19:18 -0500 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 57823 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : HZfDce2S7Oh/8wdCtuHFhA== SHA1 : HTqFxQQb3g/gTrdLTG0HNKDYKaE= SHA256 : CPp0fxAhRK4AYWTGNqowucMwyUnGgg+6 8W4VcQnHwLI= SHA512 : EagaCXLq2XgRwDIB7pi6gRfUkU35ake2 n5RCrhXwpLh3WXMbz7y1xhaWCpsOBudR qTZCX+2by3pjTEteBj5MZg== RMD160 : aZXwbEhAt2LIAsFJoL7uBk+FSmE= TIGER : UurXPdrV9ngA/ouwbMArAUOCPjJQ5M6r CRC32 : ukI4aA== WHIRLPOOL : iuJuDYN26l78S6i2Wd8U2+mE2Ta7jAR4 0xm0RJg7+5gtM3c7SKvFPcA3xBKyizH1 vngKPcB7IHrCyv2nFeVvPA== GOST : wY6pHz6XV/EnFpkYdAEBeHorwqDVxgpu sN4LWfew+c8= STRIBOG256: m4E1hCUqQl83Ooh9aU4OMTvLt89xXPhn wiaFK0BbLuI= STRIBOG512: KU1PO57Od6hs6iVd7gtuv/Rd8mAv6w+C xywqD5jFnX3d/Fykz/qnmPK0Wg8d0A33 xapW6QDeuyAc1db8+ndHJQ== End timestamp: 2025-02-10 11:22:51 -0500 (run time: 3m 33s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Monday 10 February 2025 11:22:51 -0500 (0:03:33.043) 0:04:12.846 ******* changed: [managed-node1] => { "changed": true, "checksum": "713c77127f2637719313b1c04873c7f89bd5e469", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "338602dc746c3d3adda8241339a1599b", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4819155, "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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Monday 10 February 2025 11:22:51 -0500 (0:00:00.519) 0:04:13.365 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Monday 10 February 2025 11:22:52 -0500 (0:00:00.483) 0:04:13.849 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Monday 10 February 2025 11:22:52 -0500 (0:00:00.026) 0:04:13.876 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Monday 10 February 2025 11:22:52 -0500 (0:00:00.028) 0:04:13.904 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Monday 10 February 2025 11:22:52 -0500 (0:00:00.026) 0:04:13.931 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Monday 10 February 2025 11:22:52 -0500 (0:00:00.027) 0:04:13.958 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Monday 10 February 2025 11:22:52 -0500 (0:00:00.027) 0:04:13.986 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Monday 10 February 2025 11:22:52 -0500 (0:00:00.027) 0:04:14.013 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Monday 10 February 2025 11:22:52 -0500 (0:00:00.026) 0:04:14.040 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Monday 10 February 2025 11:22:52 -0500 (0:00:00.511) 0:04:14.552 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 Monday 10 February 2025 11:22:52 -0500 (0:00:00.032) 0:04:14.585 ******* ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:56 Monday 10 February 2025 11:22:53 -0500 (0:00:00.391) 0:04:14.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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Monday 10 February 2025 11:22:53 -0500 (0:00:00.042) 0:04:15.020 ******* included: /tmp/collections-Bdo/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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Monday 10 February 2025 11:22:53 -0500 (0:00:00.020) 0:04:15.040 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Monday 10 February 2025 11:22:53 -0500 (0:00:00.032) 0:04:15.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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Monday 10 February 2025 11:22:53 -0500 (0:00:00.019) 0:04:15.092 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Monday 10 February 2025 11:22:53 -0500 (0:00:00.019) 0:04:15.111 ******* 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Monday 10 February 2025 11:22:53 -0500 (0:00:00.033) 0:04:15.145 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Monday 10 February 2025 11:22:54 -0500 (0:00:01.389) 0:04:16.535 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Monday 10 February 2025 11:22:54 -0500 (0:00:00.014) 0:04:16.550 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Monday 10 February 2025 11:22:54 -0500 (0:00:00.020) 0:04:16.570 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Monday 10 February 2025 11:22:54 -0500 (0:00:00.027) 0:04:16.598 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Monday 10 February 2025 11:22:54 -0500 (0:00:00.027) 0:04:16.625 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Monday 10 February 2025 11:22:54 -0500 (0:00:00.027) 0:04:16.653 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Monday 10 February 2025 11:22:54 -0500 (0:00:00.027) 0:04:16.681 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Monday 10 February 2025 11:22:54 -0500 (0:00:00.029) 0:04:16.710 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Monday 10 February 2025 11:22:55 -0500 (0:00:00.027) 0:04:16.738 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Monday 10 February 2025 11:22:55 -0500 (0:00:00.028) 0:04:16.766 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Monday 10 February 2025 11:22:55 -0500 (0:00:00.027) 0:04:16.793 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Monday 10 February 2025 11:22:55 -0500 (0:00:00.027) 0:04:16.821 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Monday 10 February 2025 11:22:55 -0500 (0:00:00.027) 0:04:16.849 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Monday 10 February 2025 11:22:55 -0500 (0:00:00.019) 0:04:16.869 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Monday 10 February 2025 11:22:55 -0500 (0:00:00.022) 0:04:16.891 ******* ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:71 Monday 10 February 2025 11:22:55 -0500 (0:00:00.392) 0:04:17.284 ******* included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Monday 10 February 2025 11:22:55 -0500 (0:00:00.055) 0:04:17.340 ******* included: /tmp/collections-Bdo/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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Monday 10 February 2025 11:22:55 -0500 (0:00:00.022) 0:04:17.362 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Monday 10 February 2025 11:22:55 -0500 (0:00:00.032) 0:04:17.394 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Monday 10 February 2025 11:22:55 -0500 (0:00:00.021) 0:04:17.415 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Monday 10 February 2025 11:22:55 -0500 (0:00:00.022) 0:04:17.437 ******* 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Monday 10 February 2025 11:22:55 -0500 (0:00:00.034) 0:04:17.472 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Monday 10 February 2025 11:22:57 -0500 (0:00:01.336) 0:04:18.808 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Monday 10 February 2025 11:22:57 -0500 (0:00:00.014) 0:04:18.823 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Monday 10 February 2025 11:22:57 -0500 (0:00:00.019) 0:04:18.843 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Monday 10 February 2025 11:22:57 -0500 (0:00:00.027) 0:04:18.871 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Monday 10 February 2025 11:22:57 -0500 (0:00:00.027) 0:04:18.898 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Monday 10 February 2025 11:22:57 -0500 (0:00:00.027) 0:04:18.926 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Monday 10 February 2025 11:22:57 -0500 (0:00:00.027) 0:04:18.953 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Monday 10 February 2025 11:22:57 -0500 (0:00:00.028) 0:04:18.981 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Monday 10 February 2025 11:22:57 -0500 (0:00:00.028) 0:04:19.009 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Monday 10 February 2025 11:22:57 -0500 (0:00:00.028) 0:04:19.038 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Monday 10 February 2025 11:22:57 -0500 (0:00:00.027) 0:04:19.065 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Monday 10 February 2025 11:22:57 -0500 (0:00:00.027) 0:04:19.093 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Monday 10 February 2025 11:22:57 -0500 (0:00:00.028) 0:04:19.122 ******* 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-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Monday 10 February 2025 11:22:57 -0500 (0:00:00.032) 0:04:19.154 ******* changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Monday 10 February 2025 11:22:57 -0500 (0:00:00.408) 0:04:19.563 ******* changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Monday 10 February 2025 11:22:58 -0500 (0:00:00.392) 0:04:19.955 ******* 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_a6dp45a0_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Monday 10 February 2025 11:22:58 -0500 (0:00:00.437) 0:04:20.393 ******* changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_a6dp45a0_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=25 changed=12 unreachable=0 failed=0 skipped=49 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Monday 10 February 2025 11:22:59 -0500 (0:00:00.388) 0:04:20.781 ******* =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database ------------- 213.04s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 31.63s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 Gathering Facts --------------------------------------------------------- 3.91s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.33s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.39s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.34s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Check if system is ostree ----------------------------------------------- 0.59s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Create tempfile for crontab backup -------------------------------------- 0.56s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 Backup crontab ---------------------------------------------------------- 0.53s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.52s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.51s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.48s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Restore crontab --------------------------------------------------------- 0.44s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.41s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Ensure file is not changed ---------------------------------------------- 0.39s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Ensure aide cron is removed --------------------------------------------- 0.39s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Check file content ------------------------------------------------------ 0.39s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 Delete tempfile --------------------------------------------------------- 0.39s /tmp/collections-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Run the role and disable cron ------------------------------------------- 0.06s /tmp/collections-Bdo/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-Bdo/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:56