ansible-playbook [core 2.17.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.13/site-packages/ansible ansible collection location = /tmp/collections-Wzs executable location = /usr/local/bin/ansible-playbook python version = 3.13.3 (main, Apr 22 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3.13) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. 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-Wzs/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-Wzs/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 Thursday 26 June 2025 15:25:46 -0400 (0:00:00.032) 0:00:00.032 ********* [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3, 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 : Set platform/version specific variables] *** task path: /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 26 June 2025 15:25:47 -0400 (0:00:01.315) 0:00:01.347 ********* included: /tmp/collections-Wzs/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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 26 June 2025 15:25:47 -0400 (0:00:00.019) 0:00:01.367 ********* skipping: [managed-node2] => { "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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 26 June 2025 15:25:47 -0400 (0:00:00.027) 0:00:01.394 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 26 June 2025 15:25:47 -0400 (0:00:00.463) 0:00:01.857 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 26 June 2025 15:25:47 -0400 (0:00:00.024) 0:00:01.881 ********* 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=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-node2] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 26 June 2025 15:25:47 -0400 (0:00:00.033) 0:00:01.915 ********* ok: [managed-node2] => { "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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 26 June 2025 15:25:49 -0400 (0:00:01.561) 0:00:03.476 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 26 June 2025 15:25:49 -0400 (0:00:00.014) 0:00:03.491 ********* skipping: [managed-node2] => { "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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Thursday 26 June 2025 15:25:49 -0400 (0:00:00.016) 0:00:03.508 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:08.199214", "end": "2025-06-26 15:25:58.104962", "rc": 0, "start": "2025-06-26 15:25:49.905748" } STDOUT: Start timestamp: 2025-06-26 15:25:49 -0400 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 59064 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : rlhjxe6G0uahunrny/OUdQ== SHA1 : wJ7Kql2AM3RNJ4IUNv+bYtsmpwM= SHA256 : bFAMRXcQwS/GSGN53iJcPYE+Aq5pF5fc N0G3v6zJjvY= SHA512 : uxIeXaUMYTAm2n3VcaiL4uMmPlipsF/f +y18bzm2oMZsJLRxuX5FmfHsW6vdfV1x fHgp5nZ5sh1aiYMEGTmo+w== RMD160 : BbODYID3kB2iNz924nSpQMxA0JE= TIGER : KszQP0dRj2Lw0qzjTYJpCgQzuGrqT0eL CRC32 : 9fJceQ== WHIRLPOOL : rPmpl7Aw0SYGyvXCeiDCZIMTxk+rtdQC W8XFlXgitiZH61Y8diQbJUlzZxoogyCH 7pleFm3fLVPCl/0nTEXBfg== GOST : hWfMyrHB5eVQdlwNRFCuweubuyOv4v5j 602B3shTc1Q= STRIBOG256: HfZD6G56Ut/un8WFtLAM1olT8j1MP5mV OPkvaYU1quA= STRIBOG512: rQMinY/NkktQXgH5DP5B2/pqoWybt7Sd 7rC19BxDhz9Lj44sAobv6Pmq4t1vGg+i ikdcxbpPc9dXSSgMGUzXGQ== End timestamp: 2025-06-26 15:25:58 -0400 (run time: 0m 9s) 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Thursday 26 June 2025 15:25:58 -0400 (0:00:08.673) 0:00:12.181 ********* changed: [managed-node2] => { "changed": true, "checksum": "acaf4d8e498e512cf14da17d258acd208f19bfc2", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "338e7dee574cb9805f7f5df14189c949", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 3315428, "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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Thursday 26 June 2025 15:25:58 -0400 (0:00:00.497) 0:00:12.679 ********* changed: [managed-node2] => { "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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.464) 0:00:13.144 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.025) 0:00:13.169 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.024) 0:00:13.193 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.024) 0:00:13.218 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.025) 0:00:13.243 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.025) 0:00:13.268 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.024) 0:00:13.293 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.025) 0:00:13.318 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.016) 0:00:13.334 ********* 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-Wzs/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.019) 0:00:13.354 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750965898.7472599, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24f23ccee5bee83cad4f779e6fa696041553d06c", "ctime": 1750965898.2172592, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280546, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1750965898.2103915, "nlink": 1, "path": "/etc/aide.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7155, "uid": 0, "version": "2402472831", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:15 Thursday 26 June 2025 15:25:59 -0400 (0:00:00.386) 0:00:13.741 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=10 changed=3 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 26 June 2025 15:25:59 -0400 (0:00:00.018) 0:00:13.759 ********* =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database --------------- 8.67s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.56s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.32s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.50s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.46s /tmp/collections-Wzs/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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Check if the file exists ------------------------------------------------ 0.39s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.03s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.03s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.03s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.02s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.02s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.02s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.02s /tmp/collections-Wzs/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-Wzs/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-Wzs/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Assert that the file exists --------------------------------------------- 0.02s /tmp/collections-Wzs/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:15