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-Bdf 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-Bdf/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-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 18 January 2025 07:55:14 -0500 (0:00:00.007) 0:00:00.007 ****** [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-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Saturday 18 January 2025 07:55:17 -0500 (0:00:02.694) 0:00:02.702 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Saturday 18 January 2025 07:55:31 -0500 (0:00:14.638) 0:00:17.341 ****** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_vbpqzw9z_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Saturday 18 January 2025 07:55:32 -0500 (0:00:00.544) 0:00:17.886 ****** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_vbpqzw9z_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-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25 Saturday 18 January 2025 07:55:32 -0500 (0:00:00.600) 0:00:18.486 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:55:33 -0500 (0:00:00.054) 0:00:18.541 ****** included: /tmp/collections-Bdf/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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:55:33 -0500 (0:00:00.022) 0:00:18.563 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:55:33 -0500 (0:00:00.038) 0:00:18.602 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:55:33 -0500 (0:00:00.548) 0:00:19.150 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:55:33 -0500 (0:00:00.026) 0:00:19.177 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:55:33 -0500 (0:00:00.036) 0:00:19.213 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:55:36 -0500 (0:00:02.470) 0:00:21.683 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:55:36 -0500 (0:00:00.016) 0:00:21.699 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:55:36 -0500 (0:00:00.020) 0:00:21.720 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:39.882423", "end": "2025-01-18 07:56:16.587097", "rc": 0, "start": "2025-01-18 07:55:36.704674" } STDOUT: Start timestamp: 2025-01-18 07:55:36 -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 : CaTW7DNiFPaeVX/CKg4LRA== SHA1 : idho9r1uz1D4DL3P7FYZH+DYjRc= SHA256 : E9l9uayWRUNiPJnPYh8q5fY2utnwYDmi n0lSlOJdbow= SHA512 : 0FLdb4Qv2VD4eLeyjIn7e9iHD67+4O8H 6aV9F4QXzplsDYdBhe+NQ0JBQpacMk1w vNaS1Htcu7cA6RJdH+wYEg== RMD160 : xsdSlszksCZJUwFsz42FqJl/D9A= TIGER : vJ3hjcoVXlW2nN57P8El7xyo21oRNlEv CRC32 : xjssew== WHIRLPOOL : t+P7ClEcl9/1prmacrZyyqycqkdfSwbl dI9Ic4+Dl1CXEdW0fpnKEN5yHeky+bWi 58WhRpNwkMHNxhwIP2h32w== GOST : efj2l0hxC9Af2y3Dz4+b87i//OSWq/FJ bt5uB4G5OQo= STRIBOG256: w4CjMF97/UHcxswyJAFendMMBHLiuZVf Yi27ftfIu9g= STRIBOG512: 5Yb1ogmdTkmfqjTZt0/diOCW/OLkl0Bp cq5g/nG4d+AnE05oH0ImRf6zqJqfuE1P rRKHDlMl+UZrTkTqCOcYcg== End timestamp: 2025-01-18 07:56:16 -0500 (run time: 0m 40s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:56:16 -0500 (0:00:40.434) 0:01:02.155 ****** changed: [managed-node1] => { "changed": true, "checksum": "1a5aff208c5ffed5392109b5ad00960cac73e80c", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "168ca723b52440d83e3656bab68d8c2a", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4896883, "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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:56:17 -0500 (0:00:00.499) 0:01:02.654 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:56:17 -0500 (0:00:00.664) 0:01:03.319 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:56:17 -0500 (0:00:00.053) 0:01:03.373 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:56:17 -0500 (0:00:00.053) 0:01:03.426 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:56:17 -0500 (0:00:00.053) 0:01:03.479 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:56:18 -0500 (0:00:00.059) 0:01:03.539 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:56:18 -0500 (0:00:00.054) 0:01:03.593 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:56:18 -0500 (0:00:00.056) 0:01:03.650 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:56:18 -0500 (0:00:00.054) 0:01:03.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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:56:18 -0500 (0:00:00.634) 0:01:04.339 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Saturday 18 January 2025 07:56:18 -0500 (0:00:00.067) 0:01:04.406 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Saturday 18 January 2025 07:56:19 -0500 (0:00:00.444) 0:01:04.850 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:56:19 -0500 (0:00:00.045) 0:01:04.896 ****** included: /tmp/collections-Bdf/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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:56:19 -0500 (0:00:00.021) 0:01:04.917 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:56:19 -0500 (0:00:00.041) 0:01:04.958 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:56:19 -0500 (0:00:00.021) 0:01:04.980 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:56:19 -0500 (0:00:00.019) 0:01:04.999 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:56:19 -0500 (0:00:00.034) 0:01:05.034 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:56:21 -0500 (0:00:01.543) 0:01:06.577 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.017) 0:01:06.595 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.020) 0:01:06.616 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.032) 0:01:06.648 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.034) 0:01:06.683 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.034) 0:01:06.718 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.033) 0:01:06.752 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.038) 0:01:06.791 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.040) 0:01:06.831 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.050) 0:01:06.882 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.052) 0:01:06.934 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.050) 0:01:06.985 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.054) 0:01:07.040 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.030) 0:01:07.070 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Saturday 18 January 2025 07:56:21 -0500 (0:00:00.037) 0:01:07.108 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Saturday 18 January 2025 07:56:22 -0500 (0:00:00.444) 0:01:07.552 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:56:22 -0500 (0:00:00.104) 0:01:07.657 ****** included: /tmp/collections-Bdf/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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:56:22 -0500 (0:00:00.037) 0:01:07.695 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:56:22 -0500 (0:00:00.081) 0:01:07.777 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:56:22 -0500 (0:00:00.034) 0:01:07.811 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:56:22 -0500 (0:00:00.032) 0:01:07.844 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:56:22 -0500 (0:00:00.060) 0:01:07.904 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:56:23 -0500 (0:00:01.586) 0:01:09.491 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:56:23 -0500 (0:00:00.015) 0:01:09.507 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.026) 0:01:09.533 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.039) 0:01:09.573 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.038) 0:01:09.611 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.055) 0:01:09.667 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.041) 0:01:09.709 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.034) 0:01:09.744 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.044) 0:01:09.788 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.050) 0:01:09.839 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.054) 0:01:09.893 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.051) 0:01:09.944 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.074) 0:01:10.019 ****** 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-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:56:24 -0500 (0:00:00.069) 0:01:10.089 ****** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Saturday 18 January 2025 07:56:25 -0500 (0:00:00.420) 0:01:10.509 ****** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Saturday 18 January 2025 07:56:25 -0500 (0:00:00.406) 0:01:10.916 ****** 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_vbpqzw9z_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Saturday 18 January 2025 07:56:25 -0500 (0:00:00.397) 0:01:11.314 ****** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_vbpqzw9z_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:26 -0500 (0:00:00.393) 0:01:11.707 ****** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 40.43s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 14.64s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Gathering Facts --------------------------------------------------------- 2.69s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.47s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.59s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.54s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.66s /tmp/collections-Bdf/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.63s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Backup crontab ---------------------------------------------------------- 0.60s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.55s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Create tempfile for crontab backup -------------------------------------- 0.54s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.50s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Ensure file is not changed ---------------------------------------------- 0.44s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Check file content ------------------------------------------------------ 0.44s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.42s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Ensure aide cron is removed --------------------------------------------- 0.41s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Restore crontab --------------------------------------------------------- 0.40s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Delete tempfile --------------------------------------------------------- 0.39s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Run the role and disable cron ------------------------------------------- 0.11s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.08s /tmp/collections-Bdf/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2