ansible-playbook [core 2.17.14] 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-ww5 executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 14.3.1 20250617 (Red Hat 14.3.1-2)] (/usr/bin/python3.12) 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_default.yml **************************************************** 1 plays in /tmp/collections-ww5/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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 20 November 2025 12:13:43 -0500 (0:00:00.023) 0:00:00.023 ***** included: /tmp/collections-ww5/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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 20 November 2025 12:13:43 -0500 (0:00:00.018) 0:00:00.041 ***** [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 : Check if system is ostree] ************** task path: /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 20 November 2025 12:13:44 -0500 (0:00:00.847) 0:00:00.889 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 20 November 2025 12:13:45 -0500 (0:00:00.474) 0:00:01.363 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 20 November 2025 12:13:45 -0500 (0:00:00.034) 0:00:01.398 ***** 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 20 November 2025 12:13:45 -0500 (0:00:00.031) 0:00:01.429 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.aide : Get AIDE version] *********************** task path: /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 20 November 2025 12:13:46 -0500 (0:00:01.345) 0:00:02.774 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "aide", "--version" ], "delta": "0:00:00.007626", "end": "2025-11-20 12:13:47.058624", "rc": 0, "start": "2025-11-20 12:13:47.050998" } STDOUT: AIDE 0.19.2 Compile-time options: use pcre2: mandatory use pthread: mandatory use zlib compression: yes use POSIX ACLs: yes use SELinux: yes use xattr: yes use POSIX 1003.1e capabilities: no use e2fsattrs: yes use cURL: yes use Nettle crypto library: yes use GNU crypto library: no use Linux Auditing Framework: yes use locale: no syslog ident: aide syslog logopt: LOG_CONS syslog priority: LOG_NOTICE default syslog facility: LOG_LOCAL0 Default config values: config file: /etc/aide.conf database_in: file:/etc/aide.db database_out: file:/etc/aide.db.new Available compiled-in attributes: acl: yes xattrs: yes selinux: yes e2fsattrs: yes caps: no Available hashsum attributes: md5: yes sha1: yes sha256: yes sha512: yes rmd160: yes tiger: no crc32: no crc32b: no haval: no whirlpool: no gost: yes stribog256: yes stribog512: yes sha512_256: yes sha3_256: yes sha3_512: yes Available file system type names: 9p autofs bcachefs binfmt bpf btrfs cgroup cgroup2 configfs debugfs devpts efivarfs exfat ext f2fs fuse fusectl hugetlbfs mqueue nfs nilfs overlayfs proc pstore ramfs securityfs selinuxfs squashfs sysfs tmpfs tracefs udf vfat xfs Default compound groups: R: l+p+u+g+s+c+m+i+n+acl+selinux+xattrs+ftype+e2fsattrs+sha3_256 L: l+p+u+g+i+n+acl+selinux+xattrs+ftype+e2fsattrs >: l+p+u+g+s+i+n+acl+selinux+xattrs+ftype+e2fsattrs+growing H: sha256+sha512+stribog256+stribog512+sha512_256+sha3_256+sha3_512 X: acl+selinux+xattrs+e2fsattrs TASK [fedora.linux_system_roles.aide : Set AIDE version] *********************** task path: /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.457) 0:00:03.232 ***** ok: [managed-node1] => { "ansible_facts": { "aide_version": "0.19.2" }, "changed": false } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:26 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.037) 0:00:03.269 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.013) 0:00:03.282 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:46 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.014) 0:00:03.297 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:51 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.027) 0:00:03.325 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:62 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.027) 0:00:03.353 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.028) 0:00:03.382 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:76 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.028) 0:00:03.410 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:84 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.028) 0:00:03.438 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:94 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.028) 0:00:03.466 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:102 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.027) 0:00:03.494 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.028) 0:00:03.523 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:117 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.027) 0:00:03.551 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:122 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.027) 0:00:03.579 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:131 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.021) 0:00:03.600 ***** 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-ww5/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:9 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.025) 0:00:03.626 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1763658775.5242734, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 24, "charset": "us-ascii", "checksum": "e451950ca1896c0fc31fa7fab1109e2ee31670be", "ctime": 1763658773.7637606, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4562972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1760486400.0, "nlink": 1, "path": "/etc/aide.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 9384, "uid": 0, "version": "4058595869", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:14 Thursday 20 November 2025 12:13:47 -0500 (0:00:00.385) 0:00:04.012 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=9 changed=0 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 20 November 2025 12:13:47 -0500 (0:00:00.013) 0:00:04.025 ***** =============================================================================== fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.35s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.85s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.47s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Get AIDE version ----------------------- 0.46s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Check if the file exists ------------------------------------------------ 0.39s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml:9 fedora.linux_system_roles.aide : Set AIDE version ----------------------- 0.04s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:62 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:84 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:102 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-ww5/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-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:76 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:94 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:117 fedora.linux_system_roles.aide : Initialize AIDE database --------------- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:46 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:51 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.03s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:131 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.02s /tmp/collections-ww5/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:122