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.12/site-packages/ansible ansible collection location = /tmp/collections-0SZ executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.12) 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-0SZ/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-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 11 January 2025 06:22:32 -0500 (0:00:00.008) 0:00:00.008 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Saturday 11 January 2025 06:22:35 -0500 (0:00:02.678) 0:00:02.686 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: crontabs-1.11^20190603git9e74f2d-3.fc40.noarch", "Installed: cronie-1.7.2-1.fc40.x86_64", "Installed: cronie-anacron-1.7.2-1.fc40.x86_64" ] } lsrpackages: crontabs TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Saturday 11 January 2025 06:22:49 -0500 (0:00:14.429) 0:00:17.115 ****** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_1bjnp9m9_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Saturday 11 January 2025 06:22:49 -0500 (0:00:00.528) 0:00:17.644 ****** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_1bjnp9m9_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-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25 Saturday 11 January 2025 06:22:50 -0500 (0:00:00.569) 0:00:18.213 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 11 January 2025 06:22:50 -0500 (0:00:00.057) 0:00:18.270 ****** included: /tmp/collections-0SZ/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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 11 January 2025 06:22:50 -0500 (0:00:00.022) 0:00:18.293 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 11 January 2025 06:22:50 -0500 (0:00:00.039) 0:00:18.332 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 11 January 2025 06:22:51 -0500 (0:00:00.534) 0:00:18.867 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 11 January 2025 06:22:51 -0500 (0:00:00.028) 0:00:18.895 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 11 January 2025 06:22:51 -0500 (0:00:00.037) 0:00:18.932 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.18.6-4.fc40.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 11 January 2025 06:22:53 -0500 (0:00:02.282) 0:00:21.215 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 11 January 2025 06:22:53 -0500 (0:00:00.016) 0:00:21.232 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 11 January 2025 06:22:53 -0500 (0:00:00.020) 0:00:21.252 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:39.722509", "end": "2025-01-11 06:23:33.769995", "rc": 0, "start": "2025-01-11 06:22:54.047486" } STDOUT: Start timestamp: 2025-01-11 06:22:54 -0500 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 58281 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : cDHDpnDBGeZwrNd05TLMgA== SHA1 : 3ot6PZXaapss4vsPpFT30HLTjhk= SHA256 : hIAYOfXPAe7NrJfldDJRdTJnj8WrpXgr ICE7kSaCnbI= SHA512 : OF7rbWElpRoTO1lEiOSUybKp79TtwdBV 8nAYvZmGmopSOGPBiGQRtN7a6muEh5fl e70IDL5IyiTN/pO5lEwzhw== RMD160 : F++mwNtBGP2PDquOZ9sNtR8E2tQ= TIGER : xwCDdHyr7MlQ4Yy16ttglDPlkBiuMBrm CRC32 : r5x7NQ== WHIRLPOOL : f4N9NW4vV2o3LE6o2Y5Z4QFhLvYkCSGu wJNKp916rpw4UBNWe3vKWj9SY6DnMpUU ibdoSHhMXYZHQcqKi6Icww== GOST : jJl2e6kJaXx9bIaDsC780Wgu69LFbZ24 HhZZBvDtAzM= STRIBOG256: DsfhXfNsy2wSFA8zo2oXq2R57+p4sFvV PspcKE7asT0= STRIBOG512: qbqz+s/IiCZx0YjCFvtM+zIvgUhTLOHo bF1564psJ8rGS1ZWB3P8PXSXRNWkA3Ie KPa/imFJYFRSJN4+8AOpWg== End timestamp: 2025-01-11 06:23:33 -0500 (run time: 0m 39s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 11 January 2025 06:23:33 -0500 (0:00:40.265) 0:01:01.517 ****** changed: [managed-node1] => { "changed": true, "checksum": "8edd12d357e72995edacbb99740d561326a34907", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "cab4239b6721d3e731ea5a3eb67aa6ef", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4896893, "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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 11 January 2025 06:23:34 -0500 (0:00:00.427) 0:01:01.945 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 11 January 2025 06:23:34 -0500 (0:00:00.507) 0:01:02.453 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 11 January 2025 06:23:34 -0500 (0:00:00.033) 0:01:02.486 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 11 January 2025 06:23:34 -0500 (0:00:00.042) 0:01:02.528 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 11 January 2025 06:23:34 -0500 (0:00:00.043) 0:01:02.572 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 11 January 2025 06:23:34 -0500 (0:00:00.033) 0:01:02.605 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 11 January 2025 06:23:34 -0500 (0:00:00.032) 0:01:02.638 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 11 January 2025 06:23:34 -0500 (0:00:00.033) 0:01:02.671 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 11 January 2025 06:23:35 -0500 (0:00:00.033) 0:01:02.704 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 11 January 2025 06:23:35 -0500 (0:00:00.503) 0:01:03.207 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Saturday 11 January 2025 06:23:35 -0500 (0:00:00.042) 0:01:03.249 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Saturday 11 January 2025 06:23:35 -0500 (0:00:00.388) 0:01:03.638 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 11 January 2025 06:23:35 -0500 (0:00:00.046) 0:01:03.685 ****** included: /tmp/collections-0SZ/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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 11 January 2025 06:23:36 -0500 (0:00:00.021) 0:01:03.706 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 11 January 2025 06:23:36 -0500 (0:00:00.040) 0:01:03.747 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 11 January 2025 06:23:36 -0500 (0:00:00.020) 0:01:03.768 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 11 January 2025 06:23:36 -0500 (0:00:00.019) 0:01:03.787 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 11 January 2025 06:23:36 -0500 (0:00:00.036) 0:01:03.824 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 11 January 2025 06:23:37 -0500 (0:00:01.428) 0:01:05.252 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.015) 0:01:05.268 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.020) 0:01:05.288 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.033) 0:01:05.322 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.034) 0:01:05.357 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.033) 0:01:05.390 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.035) 0:01:05.425 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.034) 0:01:05.459 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.035) 0:01:05.495 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.033) 0:01:05.529 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.034) 0:01:05.563 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.033) 0:01:05.597 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.042) 0:01:05.640 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 11 January 2025 06:23:37 -0500 (0:00:00.032) 0:01:05.672 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Saturday 11 January 2025 06:23:38 -0500 (0:00:00.025) 0:01:05.698 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Saturday 11 January 2025 06:23:38 -0500 (0:00:00.387) 0:01:06.085 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 11 January 2025 06:23:38 -0500 (0:00:00.058) 0:01:06.143 ****** included: /tmp/collections-0SZ/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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 11 January 2025 06:23:38 -0500 (0:00:00.022) 0:01:06.166 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 11 January 2025 06:23:38 -0500 (0:00:00.039) 0:01:06.205 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 11 January 2025 06:23:38 -0500 (0:00:00.020) 0:01:06.225 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 11 January 2025 06:23:38 -0500 (0:00:00.021) 0:01:06.246 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 11 January 2025 06:23:38 -0500 (0:00:00.036) 0:01:06.283 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 11 January 2025 06:23:40 -0500 (0:00:01.425) 0:01:07.709 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.023) 0:01:07.732 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.031) 0:01:07.763 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.036) 0:01:07.799 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.035) 0:01:07.834 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.037) 0:01:07.872 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.033) 0:01:07.906 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.033) 0:01:07.940 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.034) 0:01:07.975 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.034) 0:01:08.010 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.033) 0:01:08.044 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.034) 0:01:08.078 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.033) 0:01:08.112 ****** 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-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.038) 0:01:08.150 ****** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Saturday 11 January 2025 06:23:40 -0500 (0:00:00.406) 0:01:08.556 ****** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Saturday 11 January 2025 06:23:41 -0500 (0:00:00.395) 0:01:08.952 ****** 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_1bjnp9m9_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Saturday 11 January 2025 06:23:41 -0500 (0:00:00.407) 0:01:09.359 ****** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_1bjnp9m9_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:23:42 -0500 (0:00:00.392) 0:01:09.751 ****** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 40.27s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 14.43s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Gathering Facts --------------------------------------------------------- 2.68s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.28s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.43s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.43s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Backup crontab ---------------------------------------------------------- 0.57s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.53s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Create tempfile for crontab backup -------------------------------------- 0.53s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.51s /tmp/collections-0SZ/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.50s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.43s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Restore crontab --------------------------------------------------------- 0.41s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.41s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Ensure aide cron is removed --------------------------------------------- 0.40s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Delete tempfile --------------------------------------------------------- 0.39s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Check file content ------------------------------------------------------ 0.39s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Ensure file is not changed ---------------------------------------------- 0.39s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Run the role and disable cron ------------------------------------------- 0.06s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Run the role and set up cron -------------------------------------------- 0.06s /tmp/collections-0SZ/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25