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-kh2 executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 6 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-kh2/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-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 25 January 2025 06:22:17 -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-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Saturday 25 January 2025 06:22:21 -0500 (0:00:03.664) 0:00:03.671 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Saturday 25 January 2025 06:22:50 -0500 (0:00:29.005) 0:00:32.677 ****** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_ij5ye7dg_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Saturday 25 January 2025 06:22:51 -0500 (0:00:00.495) 0:00:33.172 ****** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_ij5ye7dg_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-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25 Saturday 25 January 2025 06:22:51 -0500 (0:00:00.546) 0:00:33.718 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 25 January 2025 06:22:51 -0500 (0:00:00.051) 0:00:33.770 ****** included: /tmp/collections-kh2/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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 25 January 2025 06:22:51 -0500 (0:00:00.020) 0:00:33.791 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 25 January 2025 06:22:51 -0500 (0:00:00.035) 0:00:33.827 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 25 January 2025 06:22:52 -0500 (0:00:00.507) 0:00:34.334 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 25 January 2025 06:22:52 -0500 (0:00:00.024) 0:00:34.358 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 25 January 2025 06:22:52 -0500 (0:00:00.032) 0:00:34.391 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 25 January 2025 06:22:54 -0500 (0:00:02.665) 0:00:37.056 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 25 January 2025 06:22:54 -0500 (0:00:00.014) 0:00:37.071 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 25 January 2025 06:22:54 -0500 (0:00:00.018) 0:00:37.090 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:03:10.243231", "end": "2025-01-25 06:26:05.642933", "rc": 0, "start": "2025-01-25 06:22:55.399702" } STDOUT: Start timestamp: 2025-01-25 06:22:55 -0500 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 58316 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : qwxsdlK/qWI7rbE3YPMmtg== SHA1 : eM/fz11dbedMEkz3qQuoNo38dGE= SHA256 : m8K4S4Yov/oDfTLLkBkqN6x2radvQZ6j iHoC4XHSQZE= SHA512 : o35bMM+hsrSdBfoMMQOrfBRTbgdC61kx XOh+4zh18DrYBss7pF2uOEdGmMq2SvCs tZgo5XEDkTYGKsAkDXiVCg== RMD160 : Llri29R8c3p3hHXQw6oLWyQMqLA= TIGER : jXMDPaqlSKa1PfWbFreLLSGEqPSgNOeA CRC32 : h+ba9g== WHIRLPOOL : MUQiaOzbAxzqrVYWPGkTRuHZrwX5Hijs RA8wNXazqkB3Cgz/js+4xDadsYggP+Pf IHNxn7rQ++cKo4YMhmAe0w== GOST : id9Wvcwp7xbc8/ko5Tw/kUDQoqcnmcnK ijLYe2z3gUE= STRIBOG256: BDkpTTawCsDDKieNACY3qKO010f0h4BF KygyPEMkz58= STRIBOG512: 8fFOdjyc7zBiGt/0zsBOEmeT9M/EIoSu O+YzZrWmOeBlFBUR77IIvuSTHL1C0YIW PjzlsVdsQA9W0WAJ1C+l7Q== End timestamp: 2025-01-25 06:26:05 -0500 (run time: 3m 10s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 25 January 2025 06:26:05 -0500 (0:03:10.756) 0:03:47.847 ****** changed: [managed-node1] => { "changed": true, "checksum": "5a8b8b678d8eb7b8b3233f2ace55e3c81aba4901", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "396a7cc561771389efe327f1c1fce8a3", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4898218, "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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 25 January 2025 06:26:06 -0500 (0:00:00.557) 0:03:48.404 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 25 January 2025 06:26:06 -0500 (0:00:00.515) 0:03:48.919 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 25 January 2025 06:26:06 -0500 (0:00:00.031) 0:03:48.950 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 25 January 2025 06:26:06 -0500 (0:00:00.030) 0:03:48.980 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 25 January 2025 06:26:06 -0500 (0:00:00.030) 0:03:49.011 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 25 January 2025 06:26:06 -0500 (0:00:00.031) 0:03:49.042 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 25 January 2025 06:26:06 -0500 (0:00:00.030) 0:03:49.073 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 25 January 2025 06:26:06 -0500 (0:00:00.030) 0:03:49.103 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 25 January 2025 06:26:06 -0500 (0:00:00.030) 0:03:49.133 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 25 January 2025 06:26:07 -0500 (0:00:00.515) 0:03:49.649 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Saturday 25 January 2025 06:26:07 -0500 (0:00:00.039) 0:03:49.688 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Saturday 25 January 2025 06:26:07 -0500 (0:00:00.394) 0:03:50.082 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 25 January 2025 06:26:07 -0500 (0:00:00.041) 0:03:50.124 ****** included: /tmp/collections-kh2/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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 25 January 2025 06:26:07 -0500 (0:00:00.019) 0:03:50.144 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 25 January 2025 06:26:08 -0500 (0:00:00.037) 0:03:50.181 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 25 January 2025 06:26:08 -0500 (0:00:00.019) 0:03:50.200 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 25 January 2025 06:26:08 -0500 (0:00:00.017) 0:03:50.218 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 25 January 2025 06:26:08 -0500 (0:00:00.031) 0:03:50.250 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 25 January 2025 06:26:09 -0500 (0:00:01.447) 0:03:51.697 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.013) 0:03:51.711 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.018) 0:03:51.730 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.030) 0:03:51.760 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.030) 0:03:51.790 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.029) 0:03:51.820 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.030) 0:03:51.850 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.030) 0:03:51.881 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.031) 0:03:51.912 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.031) 0:03:51.944 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.033) 0:03:51.977 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.031) 0:03:52.009 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.033) 0:03:52.043 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.017) 0:03:52.060 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Saturday 25 January 2025 06:26:09 -0500 (0:00:00.020) 0:03:52.081 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Saturday 25 January 2025 06:26:10 -0500 (0:00:00.384) 0:03:52.466 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 25 January 2025 06:26:10 -0500 (0:00:00.073) 0:03:52.539 ****** included: /tmp/collections-kh2/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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 25 January 2025 06:26:10 -0500 (0:00:00.021) 0:03:52.561 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 25 January 2025 06:26:10 -0500 (0:00:00.035) 0:03:52.596 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 25 January 2025 06:26:10 -0500 (0:00:00.019) 0:03:52.615 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 25 January 2025 06:26:10 -0500 (0:00:00.019) 0:03:52.635 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 25 January 2025 06:26:10 -0500 (0:00:00.032) 0:03:52.668 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 25 January 2025 06:26:12 -0500 (0:00:01.498) 0:03:54.167 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.014) 0:03:54.181 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.017) 0:03:54.198 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.031) 0:03:54.230 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.030) 0:03:54.261 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.033) 0:03:54.294 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.030) 0:03:54.324 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.030) 0:03:54.355 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.030) 0:03:54.386 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.029) 0:03:54.415 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.029) 0:03:54.445 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.030) 0:03:54.475 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.030) 0:03:54.505 ****** 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-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.032) 0:03:54.538 ****** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Saturday 25 January 2025 06:26:12 -0500 (0:00:00.432) 0:03:54.970 ****** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Saturday 25 January 2025 06:26:13 -0500 (0:00:00.392) 0:03:55.363 ****** 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_ij5ye7dg_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Saturday 25 January 2025 06:26:13 -0500 (0:00:00.435) 0:03:55.798 ****** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_ij5ye7dg_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=25 changed=12 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 25 January 2025 06:26:14 -0500 (0:00:00.394) 0:03:56.193 ****** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database ------------- 190.76s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 29.01s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Gathering Facts --------------------------------------------------------- 3.66s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.67s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.50s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.45s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.56s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Backup crontab ---------------------------------------------------------- 0.55s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.52s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.52s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.51s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Create tempfile for crontab backup -------------------------------------- 0.50s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Restore crontab --------------------------------------------------------- 0.44s /tmp/collections-kh2/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.43s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Delete tempfile --------------------------------------------------------- 0.39s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Check file content ------------------------------------------------------ 0.39s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Ensure aide cron is removed --------------------------------------------- 0.39s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Ensure file is not changed ---------------------------------------------- 0.38s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Run the role and disable cron ------------------------------------------- 0.07s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Run the role and set up cron -------------------------------------------- 0.05s /tmp/collections-kh2/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25