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-0z7 executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.5 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-0z7/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-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 18 January 2025 07:55:48 -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.9, 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-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Saturday 18 January 2025 07:55:51 -0500 (0:00:03.042) 0:00:03.050 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crontabs TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Saturday 18 January 2025 07:56:09 -0500 (0:00:17.732) 0:00:20.782 ****** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_663rac82_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Saturday 18 January 2025 07:56:09 -0500 (0:00:00.429) 0:00:21.211 ****** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_663rac82_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-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.447) 0:00:21.659 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.047) 0:00:21.707 ****** included: /tmp/collections-0z7/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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.019) 0:00:21.726 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.033) 0:00:21.759 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.418) 0:00:22.178 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.021) 0:00:22.200 ****** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:56:10 -0500 (0:00:00.030) 0:00:22.230 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.16-102.el9.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:56:13 -0500 (0:00:02.881) 0:00:25.111 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:56:13 -0500 (0:00:00.021) 0:00:25.133 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:56:13 -0500 (0:00:00.025) 0:00:25.159 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:36.851607", "end": "2025-01-18 07:56:51.075425", "rc": 0, "start": "2025-01-18 07:56:14.223818" } STDOUT: Start timestamp: 2025-01-18 07:56:14 -0500 (AIDE 0.16) AIDE initialized database at /var/lib/aide/aide.db.new.gz Number of entries: 52458 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : lbD+BMKSpnRU3aFBe7vhJA== SHA1 : Y7OFbVRazjnHqjCMTfgfpcnjc/I= RMD160 : 7fGiNXn1K6I8W/9uAn0vJhJhCqE= TIGER : TG1xf5XnfJRvlt7H+MRP8GS68xh7EjAZ SHA256 : BHJ3z+v96E3l9IJmr6mXOOq0rxYyPQzF DmIZ7tg7h0c= SHA512 : HGyEoDzbs9N5LNe+2Pxhdc7u86Iuwkih gMdg7jH6riDSOAIJNTDboML+79G1t71Y uwiNObgCKWzEToWrFMv91A== End timestamp: 2025-01-18 07:56:51 -0500 (run time: 0m 37s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:56:51 -0500 (0:00:37.382) 0:01:02.542 ****** changed: [managed-node1] => { "changed": true, "checksum": "7ae3aec2c3d57393bf9841649f00726aeec4e0e2", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "c43318550962d5d7e17f7a69dd0d7d77", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 2864120, "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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:56:51 -0500 (0:00:00.378) 0:01:02.921 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:56:52 -0500 (0:00:00.586) 0:01:03.507 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:56:52 -0500 (0:00:00.054) 0:01:03.562 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:56:52 -0500 (0:00:00.047) 0:01:03.610 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:56:52 -0500 (0:00:00.051) 0:01:03.661 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:56:52 -0500 (0:00:00.050) 0:01:03.712 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:56:52 -0500 (0:00:00.046) 0:01:03.759 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:56:52 -0500 (0:00:00.041) 0:01:03.800 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:56:52 -0500 (0:00:00.033) 0:01:03.834 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:56:52 -0500 (0:00:00.451) 0:01:04.285 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Saturday 18 January 2025 07:56:52 -0500 (0:00:00.039) 0:01:04.325 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Saturday 18 January 2025 07:56:53 -0500 (0:00:00.361) 0:01:04.687 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:56:53 -0500 (0:00:00.070) 0:01:04.757 ****** included: /tmp/collections-0z7/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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:56:53 -0500 (0:00:00.033) 0:01:04.790 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:56:53 -0500 (0:00:00.061) 0:01:04.852 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:56:53 -0500 (0:00:00.033) 0:01:04.885 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:56:53 -0500 (0:00:00.026) 0:01:04.911 ****** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:56:53 -0500 (0:00:00.048) 0:01:04.960 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:56:54 -0500 (0:00:01.426) 0:01:06.386 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.031) 0:01:06.417 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.046) 0:01:06.464 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.052) 0:01:06.516 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.047) 0:01:06.563 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.076) 0:01:06.639 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.048) 0:01:06.688 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.078) 0:01:06.766 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.053) 0:01:06.820 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.063) 0:01:06.883 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.042) 0:01:06.925 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.033) 0:01:06.959 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.035) 0:01:06.994 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.021) 0:01:07.015 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.021) 0:01:07.036 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Saturday 18 January 2025 07:56:55 -0500 (0:00:00.376) 0:01:07.413 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 January 2025 07:56:56 -0500 (0:00:00.091) 0:01:07.505 ****** included: /tmp/collections-0z7/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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 January 2025 07:56:56 -0500 (0:00:00.035) 0:01:07.540 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 January 2025 07:56:56 -0500 (0:00:00.052) 0:01:07.593 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 January 2025 07:56:56 -0500 (0:00:00.028) 0:01:07.621 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 January 2025 07:56:56 -0500 (0:00:00.025) 0:01:07.646 ****** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 January 2025 07:56:56 -0500 (0:00:00.049) 0:01:07.696 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 January 2025 07:56:57 -0500 (0:00:01.435) 0:01:09.132 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 January 2025 07:56:57 -0500 (0:00:00.020) 0:01:09.153 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 January 2025 07:56:57 -0500 (0:00:00.026) 0:01:09.180 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 18 January 2025 07:56:57 -0500 (0:00:00.047) 0:01:09.227 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 18 January 2025 07:56:57 -0500 (0:00:00.050) 0:01:09.278 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 18 January 2025 07:56:57 -0500 (0:00:00.050) 0:01:09.328 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 18 January 2025 07:56:57 -0500 (0:00:00.056) 0:01:09.385 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 18 January 2025 07:56:58 -0500 (0:00:00.054) 0:01:09.439 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 18 January 2025 07:56:58 -0500 (0:00:00.057) 0:01:09.497 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 18 January 2025 07:56:58 -0500 (0:00:00.053) 0:01:09.550 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 18 January 2025 07:56:58 -0500 (0:00:00.049) 0:01:09.600 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 18 January 2025 07:56:58 -0500 (0:00:00.055) 0:01:09.656 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 18 January 2025 07:56:58 -0500 (0:00:00.050) 0:01:09.707 ****** 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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 18 January 2025 07:56:58 -0500 (0:00:00.049) 0:01:09.756 ****** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Saturday 18 January 2025 07:56:58 -0500 (0:00:00.420) 0:01:10.177 ****** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Saturday 18 January 2025 07:56:59 -0500 (0:00:00.379) 0:01:10.557 ****** 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_663rac82_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Saturday 18 January 2025 07:56:59 -0500 (0:00:00.368) 0:01:10.925 ****** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_663rac82_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=25 changed=11 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 18 January 2025 07:56:59 -0500 (0:00:00.341) 0:01:11.267 ****** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 37.38s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 17.73s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Gathering Facts --------------------------------------------------------- 3.04s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.88s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.44s /tmp/collections-0z7/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-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.59s /tmp/collections-0z7/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.45s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Backup crontab ---------------------------------------------------------- 0.45s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Create tempfile for crontab backup -------------------------------------- 0.43s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.42s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.42s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Ensure aide cron is removed --------------------------------------------- 0.38s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.38s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Ensure file is not changed ---------------------------------------------- 0.38s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Restore crontab --------------------------------------------------------- 0.37s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Check file content ------------------------------------------------------ 0.36s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Delete tempfile --------------------------------------------------------- 0.34s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Run the role and disable cron ------------------------------------------- 0.09s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.08s /tmp/collections-0z7/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63