ansible-playbook [core 2.17.7] 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-vRQ executable location = /usr/local/bin/ansible-playbook python version = 3.13.0 (main, Oct 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) jinja version = 3.1.4 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-vRQ/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-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 11 January 2025 06:22:40 -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 [Install crontabs] ******************************************************** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Saturday 11 January 2025 06:22:44 -0500 (0:00:03.769) 0:00:03.779 ****** 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" ] } lsrpackages: crontabs TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Saturday 11 January 2025 06:23:04 -0500 (0:00:20.152) 0:00:23.931 ****** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_m2za4zne_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Saturday 11 January 2025 06:23:04 -0500 (0:00:00.495) 0:00:24.427 ****** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_m2za4zne_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-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25 Saturday 11 January 2025 06:23:05 -0500 (0:00:00.504) 0:00:24.931 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 11 January 2025 06:23:05 -0500 (0:00:00.035) 0:00:24.967 ****** included: /tmp/collections-vRQ/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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 11 January 2025 06:23:05 -0500 (0:00:00.020) 0:00:24.988 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 11 January 2025 06:23:05 -0500 (0:00:00.031) 0:00:25.019 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 11 January 2025 06:23:06 -0500 (0:00:00.496) 0:00:25.515 ****** ok: [managed-node1] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 11 January 2025 06:23:06 -0500 (0:00:00.023) 0:00:25.539 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 11 January 2025 06:23:06 -0500 (0:00:00.032) 0:00:25.572 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 11 January 2025 06:23:08 -0500 (0:00:02.065) 0:00:27.637 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 11 January 2025 06:23:08 -0500 (0:00:00.015) 0:00:27.652 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_db_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 11 January 2025 06:23:08 -0500 (0:00:00.017) 0:00:27.670 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:02:28.830063", "end": "2025-01-11 06:25:37.415617", "rc": 0, "start": "2025-01-11 06:23:08.585554" } STDOUT: Start timestamp: 2025-01-11 06:23:08 -0500 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 57792 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : CJ6gSvdx3JV7kawdOjvB+w== SHA1 : EMyPzZlVtlJCmYxhwluXaaw0I8I= SHA256 : OtXzfyga5oRdGNrvRmccZc/WI2+pSWTd 32kbxdWn0r4= SHA512 : QNxYL50fC7YNQ/9jLkb5UvHWAChwZV/Q SvZbGoN54UDO0cjYwruQ6+JIogVGPoAO Pgv6IOQNROw996Y/am/3zQ== RMD160 : BzvOitGLUoYeoWTtYUYSCS3UBVs= TIGER : efVTARmTqby/xZQFeipX7FXg/G10livl CRC32 : ukLfGA== WHIRLPOOL : mDwUfhELvc9Z3cv86Y3QR6t85Qc8UCeM zHIzXz4OUoJ2q9in7dXvYFBJ/hCQOJeQ CjTW287GJKVCZyX2wuJ+Uw== GOST : Ym7jYTm8jlCHFd4SY/9nC7Jt2Li51VRE 0o0ms3Szme0= STRIBOG256: ozk9izyik2y7puPbW1zqNqsqu7xWcOOo eanynz86nAI= STRIBOG512: IHVdgXtLXj79aU22ed+RGc73/qq5b84G BQS7aFz41g7t7HdzbTojH3VUUC3DoRul RyPBjtAht0lGVInTJxp/zQ== End timestamp: 2025-01-11 06:25:37 -0500 (run time: 2m 29s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 11 January 2025 06:25:37 -0500 (0:02:29.299) 0:02:56.969 ****** changed: [managed-node1] => { "changed": true, "checksum": "c883c5d89ef911ba86e08817ccc4dd32bd3aa26e", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "70bc8740ddab2100ee0c2750a07f01b0", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4816985, "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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 11 January 2025 06:25:37 -0500 (0:00:00.509) 0:02:57.478 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 11 January 2025 06:25:38 -0500 (0:00:00.456) 0:02:57.935 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 11 January 2025 06:25:38 -0500 (0:00:00.024) 0:02:57.960 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 11 January 2025 06:25:38 -0500 (0:00:00.023) 0:02:57.983 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 11 January 2025 06:25:38 -0500 (0:00:00.022) 0:02:58.005 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 11 January 2025 06:25:38 -0500 (0:00:00.022) 0:02:58.028 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 11 January 2025 06:25:38 -0500 (0:00:00.023) 0:02:58.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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 11 January 2025 06:25:38 -0500 (0:00:00.022) 0:02:58.073 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 11 January 2025 06:25:38 -0500 (0:00:00.021) 0:02:58.095 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 11 January 2025 06:25:39 -0500 (0:00:00.459) 0:02:58.555 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Saturday 11 January 2025 06:25:39 -0500 (0:00:00.031) 0:02:58.586 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Saturday 11 January 2025 06:25:39 -0500 (0:00:00.368) 0:02:58.955 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 11 January 2025 06:25:39 -0500 (0:00:00.039) 0:02:58.994 ****** included: /tmp/collections-vRQ/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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 11 January 2025 06:25:39 -0500 (0:00:00.018) 0:02:59.013 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 11 January 2025 06:25:39 -0500 (0:00:00.026) 0:02:59.039 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 11 January 2025 06:25:39 -0500 (0:00:00.016) 0:02:59.056 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 11 January 2025 06:25:39 -0500 (0:00:00.017) 0:02:59.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=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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 11 January 2025 06:25:39 -0500 (0:00:00.029) 0:02:59.103 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 11 January 2025 06:25:40 -0500 (0:00:01.231) 0:03:00.334 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 11 January 2025 06:25:40 -0500 (0:00:00.013) 0:03:00.348 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_db_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 11 January 2025 06:25:40 -0500 (0:00:00.016) 0:03:00.364 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 11 January 2025 06:25:40 -0500 (0:00:00.022) 0:03:00.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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 11 January 2025 06:25:40 -0500 (0:00:00.024) 0:03:00.412 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 11 January 2025 06:25:40 -0500 (0:00:00.021) 0:03:00.434 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 11 January 2025 06:25:40 -0500 (0:00:00.022) 0:03:00.456 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 11 January 2025 06:25:40 -0500 (0:00:00.027) 0:03:00.484 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.022) 0:03:00.507 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.024) 0:03:00.531 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.022) 0:03:00.553 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.021) 0:03:00.575 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.021) 0:03:00.597 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.015) 0:03:00.612 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.018) 0:03:00.631 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.370) 0:03:01.002 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.049) 0:03:01.051 ****** included: /tmp/collections-vRQ/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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.018) 0:03:01.069 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.027) 0:03:01.097 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.017) 0:03:01.114 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.018) 0:03:01.132 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 11 January 2025 06:25:41 -0500 (0:00:00.029) 0:03:01.162 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 11 January 2025 06:25:42 -0500 (0:00:01.247) 0:03:02.410 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 11 January 2025 06:25:42 -0500 (0:00:00.013) 0:03:02.423 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_db_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 11 January 2025 06:25:42 -0500 (0:00:00.023) 0:03:02.447 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 11 January 2025 06:25:42 -0500 (0:00:00.023) 0:03:02.470 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_init | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 11 January 2025 06:25:42 -0500 (0:00:00.022) 0:03:02.493 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 11 January 2025 06:25:43 -0500 (0:00:00.029) 0:03:02.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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 11 January 2025 06:25:43 -0500 (0:00:00.023) 0:03:02.546 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 11 January 2025 06:25:43 -0500 (0:00:00.023) 0:03:02.569 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 11 January 2025 06:25:43 -0500 (0:00:00.022) 0:03:02.592 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 11 January 2025 06:25:43 -0500 (0:00:00.022) 0:03:02.614 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 11 January 2025 06:25:43 -0500 (0:00:00.022) 0:03:02.636 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 11 January 2025 06:25:43 -0500 (0:00:00.021) 0:03:02.658 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update aide check cron configuration if necessary] *** task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 11 January 2025 06:25:43 -0500 (0:00:00.022) 0:03:02.681 ****** 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-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 11 January 2025 06:25:43 -0500 (0:00:00.027) 0:03:02.708 ****** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Saturday 11 January 2025 06:25:43 -0500 (0:00:00.381) 0:03:03.089 ****** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Saturday 11 January 2025 06:25:44 -0500 (0:00:00.407) 0:03:03.497 ****** 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_m2za4zne_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Saturday 11 January 2025 06:25:44 -0500 (0:00:00.369) 0:03:03.866 ****** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_m2za4zne_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=25 changed=12 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 11 January 2025 06:25:44 -0500 (0:00:00.367) 0:03:04.234 ****** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database ------------- 149.30s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 20.15s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Gathering Facts --------------------------------------------------------- 3.77s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.07s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.25s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.23s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.51s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Backup crontab ---------------------------------------------------------- 0.50s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.50s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Create tempfile for crontab backup -------------------------------------- 0.50s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.46s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.46s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Ensure aide cron is removed --------------------------------------------- 0.41s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.38s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Ensure file is not changed ---------------------------------------------- 0.37s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Restore crontab --------------------------------------------------------- 0.37s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Check file content ------------------------------------------------------ 0.37s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Delete tempfile --------------------------------------------------------- 0.37s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Run the role and disable cron ------------------------------------------- 0.05s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Run the role and and do not touch cron ---------------------------------- 0.04s /tmp/collections-vRQ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42