ansible-playbook [core 2.17.9] 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-StK executable location = /usr/local/bin/ansible-playbook python version = 3.12.9 (main, Feb 4 2025, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/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_deploy.yml ***************************************************** 1 plays in /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 Saturday 01 March 2025 06:25:24 -0500 (0:00:00.011) 0:00:00.011 ******** [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 [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 01 March 2025 06:25:25 -0500 (0:00:01.277) 0:00:01.288 ******** included: /tmp/collections-StK/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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 01 March 2025 06:25:25 -0500 (0:00:00.020) 0:00:01.308 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 01 March 2025 06:25:25 -0500 (0:00:00.033) 0:00:01.342 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 01 March 2025 06:25:26 -0500 (0:00:00.464) 0:00:01.806 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 01 March 2025 06:25:26 -0500 (0:00:00.024) 0:00:01.830 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 01 March 2025 06:25:26 -0500 (0:00:00.032) 0:00:01.863 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 01 March 2025 06:25:27 -0500 (0:00:01.575) 0:00:03.439 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 01 March 2025 06:25:27 -0500 (0:00:00.015) 0:00:03.454 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_config_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 01 March 2025 06:25:27 -0500 (0:00:00.017) 0:00:03.471 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:08.063856", "end": "2025-03-01 06:25:36.442042", "rc": 0, "start": "2025-03-01 06:25:28.378186" } STDOUT: Start timestamp: 2025-03-01 06:25:28 -0500 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 58329 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : ID93PGNv5CnRTwnbbhdy8Q== SHA1 : 70f0QmjA0WRABP40QE9CK51JGnE= SHA256 : 1XofVTa5ispABHeIqb7uGqNQnz5WWGVK 81K14TI9TbI= SHA512 : uOslOddM6rGdnEKRXavWOtbyuU2JNI4V f6TGO4sJrFAL+xwVSX/2vxkCaegR9/mI UpqutqPq7s8Bzj6WX6OlIg== RMD160 : wixenr8rEWHBU4O9JUH2JhetTjE= TIGER : JMlkOm4r7XOKRI9L1v3ypVV6hOXUk1kO CRC32 : bTRAVg== WHIRLPOOL : 1lslTo1W872hRDJi0LFlXNVkblCs0cvD BegoTng8LXOWXE2/mDZ9CqLEMO/Sc7oU 0BzXJpSdsAjrXKfDdz1yzQ== GOST : b83DvKEIzyYDKVt/AWtCxc2mw7ylC3PH uCFooaCIJHA= STRIBOG256: mp6vxbl3ApFfAYXKe528T/YneV7IDkZh jideAjSOaD0= STRIBOG512: t9OkvsHkOaGUDbBJ/Rp0qsWiOodFy+ow Cri7CH/Znk85RXB2c29GvQUCAbHjuygS +v1Xl7lIWV84YjdRh/Mn2g== End timestamp: 2025-03-01 06:25:36 -0500 (run time: 0m 8s) STDERR: WARNING: /etc/aide.conf:89: special characters in group names are DEPRECATED. Update your config and only use alphanumeric characters (A-Za-z0-9) (line: 'CONTENT_EX = sha512+ftype+p+u+g+n+acl+selinux+xattrs') TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 01 March 2025 06:25:36 -0500 (0:00:08.567) 0:00:12.039 ******** changed: [managed-node1] => { "changed": true, "checksum": "bcb931b3a372391bf90e80ef44588996f8660b91", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "e42e8be197329928f72e9664f4a96678", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 3297586, "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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.542) 0:00:12.581 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.518) 0:00:13.100 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.032) 0:00:13.132 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.033) 0:00:13.166 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.032) 0:00:13.198 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.032) 0:00:13.231 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.033) 0:00:13.264 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.034) 0:00:13.299 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.031) 0:00:13.330 ******** 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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.018) 0:00:13.349 ******** skipping: [managed-node1] => { "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-StK/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 Saturday 01 March 2025 06:25:37 -0500 (0:00:00.020) 0:00:13.369 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1740828308.2509239, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24f23ccee5bee83cad4f779e6fa696041553d06c", "ctime": 1740828307.745922, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280375, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1740828307.7403638, "nlink": 1, "path": "/etc/aide.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7155, "uid": 0, "version": "3955108835", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:15 Saturday 01 March 2025 06:25:38 -0500 (0:00:00.386) 0:00:13.756 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=10 changed=3 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 01 March 2025 06:25:38 -0500 (0:00:00.015) 0:00:13.771 ******** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database --------------- 8.57s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.58s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.28s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.54s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.52s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.46s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Check if the file exists ------------------------------------------------ 0.39s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.03s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.03s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.03s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-StK/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-StK/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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.02s /tmp/collections-StK/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-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.02s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.02s /tmp/collections-StK/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109