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-xJ9 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-xJ9/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-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 18 January 2025 07:55:08 -0500 (0:00:00.008) 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-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Saturday 18 January 2025 07:55:11 -0500 (0:00:02.617) 0:00:02.626 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Saturday 18 January 2025 07:55:22 -0500 (0:00:11.854) 0:00:14.481 ****** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_xy7_7879_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Saturday 18 January 2025 07:55:23 -0500 (0:00:00.529) 0:00:15.011 ****** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_xy7_7879_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-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25 Saturday 18 January 2025 07:55:24 -0500 (0:00:00.531) 0:00:15.542 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:55:24 -0500 (0:00:00.036) 0:00:15.578 ****** included: /tmp/collections-xJ9/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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:55:24 -0500 (0:00:00.022) 0:00:15.600 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:55:24 -0500 (0:00:00.031) 0:00:15.632 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:55:24 -0500 (0:00:00.498) 0:00:16.131 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:55:24 -0500 (0:00:00.024) 0:00:16.155 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:55:24 -0500 (0:00:00.034) 0:00:16.190 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:55:26 -0500 (0:00:01.933) 0:00:18.124 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:55:26 -0500 (0:00:00.030) 0:00:18.154 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:55:26 -0500 (0:00:00.024) 0:00:18.178 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:39.015771", "end": "2025-01-18 07:56:06.218161", "rc": 0, "start": "2025-01-18 07:55:27.202390" } STDOUT: Start timestamp: 2025-01-18 07:55:27 -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 : BDbmyjZOVoP6m6vk6TcOMA== SHA1 : JR2blcP5dPEKo9HlDR3SA6hArmo= SHA256 : cwYhNv0bG7T7EJMgMBuGwjjMcYkzIzzL YxmsmXoPJcM= SHA512 : /m9N+cgXdZKxbIV8bVr4LZwL+jVzY354 bulvf08gtZnlky8w+l50VTlT2H+RfOvb Fna09XyVzD+3ZDbFNVWWgA== RMD160 : NOBXT90rjuwe/8HeFFKl8jnW+48= TIGER : B2ezQnaF9n2bpD8lhYNEWsM32T5HjHz6 CRC32 : i4++ng== WHIRLPOOL : wz4Zvdh5Izkp6yHs8tl1vh/K4k5AM5Qj qMPa5uO0vqOQlH4lrkKli/+hrcGNeC4j kA8YGbOCnwROEGS8bBb8sw== GOST : 6mSAlP6tqMwQeu0k1JS97kyqzzrjbwKs 8d+/2Usd87c= STRIBOG256: HJwQEKpKyoNoVZqjERllrkKUTgK/KBIK O/7TTStkoTE= STRIBOG512: nhAv/idSVMoeTNhpbGXjoco30oFo+RwQ in+oSMxU2SN/sjWTvet0wzBzGfD8bbT4 ZIoa8k6hz0JpIFjeAgKkYw== End timestamp: 2025-01-18 07:56:06 -0500 (run time: 0m 39s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:56:06 -0500 (0:00:39.579) 0:00:57.758 ****** changed: [managed-node1] => { "changed": true, "checksum": "f9b88476e2f738daaff99947be66fc4db22a3237", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "7a17c61b8c1263e686b3b0fec24b9560", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4816991, "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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:56:06 -0500 (0:00:00.440) 0:00:58.199 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:56:07 -0500 (0:00:00.585) 0:00:58.785 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:56:07 -0500 (0:00:00.042) 0:00:58.827 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:56:07 -0500 (0:00:00.040) 0:00:58.868 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:56:07 -0500 (0:00:00.039) 0:00:58.908 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:56:07 -0500 (0:00:00.039) 0:00:58.947 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:56:07 -0500 (0:00:00.040) 0:00:58.988 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:56:07 -0500 (0:00:00.041) 0:00:59.030 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:56:07 -0500 (0:00:00.041) 0:00:59.071 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:56:08 -0500 (0:00:00.582) 0:00:59.654 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Saturday 18 January 2025 07:56:08 -0500 (0:00:00.057) 0:00:59.711 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Saturday 18 January 2025 07:56:08 -0500 (0:00:00.422) 0:01:00.133 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:56:08 -0500 (0:00:00.069) 0:01:00.202 ****** included: /tmp/collections-xJ9/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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:56:08 -0500 (0:00:00.032) 0:01:00.235 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:56:08 -0500 (0:00:00.045) 0:01:00.281 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:56:08 -0500 (0:00:00.029) 0:01:00.310 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:56:08 -0500 (0:00:00.030) 0:01:00.341 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:56:08 -0500 (0:00:00.045) 0:01:00.386 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:56:10 -0500 (0:00:01.291) 0:01:01.678 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.013) 0:01:01.692 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.019) 0:01:01.711 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.026) 0:01:01.738 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.027) 0:01:01.765 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.025) 0:01:01.790 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.027) 0:01:01.818 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.026) 0:01:01.844 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.027) 0:01:01.871 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.028) 0:01:01.900 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.026) 0:01:01.927 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.027) 0:01:01.954 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.027) 0:01:01.981 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.018) 0:01:02.000 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.023) 0:01:02.024 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.396) 0:01:02.421 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:56:11 -0500 (0:00:00.114) 0:01:02.535 ****** included: /tmp/collections-xJ9/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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:56:11 -0500 (0:00:00.032) 0:01:02.568 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:56:11 -0500 (0:00:00.050) 0:01:02.619 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:56:11 -0500 (0:00:00.032) 0:01:02.651 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:56:11 -0500 (0:00:00.031) 0:01:02.683 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:56:11 -0500 (0:00:00.051) 0:01:02.735 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:56:12 -0500 (0:00:01.349) 0:01:04.085 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.012) 0:01:04.098 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.026) 0:01:04.124 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.026) 0:01:04.150 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.026) 0:01:04.176 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.025) 0:01:04.202 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.025) 0:01:04.228 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.026) 0:01:04.254 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.025) 0:01:04.279 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.025) 0:01:04.305 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.026) 0:01:04.331 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.029) 0:01:04.361 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.052) 0:01:04.414 ****** 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-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:56:12 -0500 (0:00:00.048) 0:01:04.462 ****** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Saturday 18 January 2025 07:56:13 -0500 (0:00:00.427) 0:01:04.890 ****** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Saturday 18 January 2025 07:56:13 -0500 (0:00:00.380) 0:01:05.271 ****** 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_xy7_7879_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Saturday 18 January 2025 07:56:14 -0500 (0:00:00.391) 0:01:05.662 ****** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_xy7_7879_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=25 changed=12 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 18 January 2025 07:56:14 -0500 (0:00:00.399) 0:01:06.061 ****** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 39.58s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 11.85s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Gathering Facts --------------------------------------------------------- 2.62s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.93s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.35s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.29s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.59s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.58s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Backup crontab ---------------------------------------------------------- 0.53s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Create tempfile for crontab backup -------------------------------------- 0.53s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.50s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.44s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.43s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Check file content ------------------------------------------------------ 0.42s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Delete tempfile --------------------------------------------------------- 0.40s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Ensure file is not changed ---------------------------------------------- 0.40s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Restore crontab --------------------------------------------------------- 0.39s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Ensure aide cron is removed --------------------------------------------- 0.38s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Run the role and disable cron ------------------------------------------- 0.11s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Run the role and and do not touch cron ---------------------------------- 0.07s /tmp/collections-xJ9/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42