ansible-playbook [core 2.17.8] 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-9Hb 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_default.yml **************************************************** 1 plays in /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Friday 31 January 2025 17:26:26 -0500 (0:00:00.010) 0:00:00.010 ******** included: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Friday 31 January 2025 17:26:26 -0500 (0:00:00.015) 0:00:00.026 ******** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Friday 31 January 2025 17:26:29 -0500 (0:00:02.098) 0:00:02.124 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Friday 31 January 2025 17:26:29 -0500 (0:00:00.545) 0:00:02.670 ******** ok: [managed-node2] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Friday 31 January 2025 17:26:29 -0500 (0:00:00.021) 0:00:02.691 ******** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Friday 31 January 2025 17:26:29 -0500 (0:00:00.052) 0:00:02.744 ******** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.16-103.el9.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Friday 31 January 2025 17:26:49 -0500 (0:00:19.720) 0:00:22.465 ******** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Friday 31 January 2025 17:26:49 -0500 (0:00:00.012) 0:00:22.477 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Friday 31 January 2025 17:26:49 -0500 (0:00:00.036) 0:00:22.514 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Friday 31 January 2025 17:26:49 -0500 (0:00:00.065) 0:00:22.579 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Friday 31 January 2025 17:26:49 -0500 (0:00:00.029) 0:00:22.608 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Friday 31 January 2025 17:26:49 -0500 (0:00:00.029) 0:00:22.637 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Friday 31 January 2025 17:26:49 -0500 (0:00:00.028) 0:00:22.666 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Friday 31 January 2025 17:26:49 -0500 (0:00:00.028) 0:00:22.695 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Friday 31 January 2025 17:26:49 -0500 (0:00:00.028) 0:00:22.723 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Friday 31 January 2025 17:26:49 -0500 (0:00:00.028) 0:00:22.752 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Friday 31 January 2025 17:26:49 -0500 (0:00:00.028) 0:00:22.780 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Friday 31 January 2025 17:26:49 -0500 (0:00:00.029) 0:00:22.809 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Friday 31 January 2025 17:26:49 -0500 (0:00:00.029) 0:00:22.839 ******** skipping: [managed-node2] => { "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-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Friday 31 January 2025 17:26:49 -0500 (0:00:00.015) 0:00:22.854 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "aide_cron_check is not none", "skip_reason": "Conditional result was False" } TASK [Check if the file exists] ************************************************ task path: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:9 Friday 31 January 2025 17:26:49 -0500 (0:00:00.016) 0:00:22.870 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737132942.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "082d3b8a3e86dc8a5fd8611b0baeadeab041b9c0", "ctime": 1738362408.0454752, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4576357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737132942.0, "nlink": 1, "path": "/etc/aide.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7075, "uid": 0, "version": "3461787642", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:14 Friday 31 January 2025 17:26:50 -0500 (0:00:00.359) 0:00:23.230 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=7 changed=1 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Friday 31 January 2025 17:26:50 -0500 (0:00:00.013) 0:00:23.243 ******** =============================================================================== fedora.linux_system_roles.aide : Ensure required packages are installed -- 19.72s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 2.10s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.55s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Check if the file exists ------------------------------------------------ 0.36s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:9 fedora.linux_system_roles.aide : Initialize AIDE database --------------- 0.07s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.05s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Generate "/etc/aide.conf" -------------- 0.04s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.03s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.03s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.03s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.03s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.02s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.02s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.02s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.02s /tmp/collections-9Hb/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3