ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', 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 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_custom_template.yml ******************************************** 1 plays in /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/tests/aide/tests_custom_template.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/tests/aide/tests_custom_template.yml:3 Thursday 20 November 2025 11:19:11 -0500 (0:00:00.022) 0:00:00.022 ***** ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 20 November 2025 11:19:12 -0500 (0:00:01.051) 0:00:01.073 ***** included: /tmp/collections-5wA/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-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 20 November 2025 11:19:12 -0500 (0:00:00.037) 0:00:01.111 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 20 November 2025 11:19:12 -0500 (0:00:00.036) 0:00:01.148 ***** 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-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 20 November 2025 11:19:13 -0500 (0:00:00.463) 0:00:01.611 ***** 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-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 20 November 2025 11:19:13 -0500 (0:00:00.039) 0:00:01.651 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 20 November 2025 11:19:13 -0500 (0:00:00.055) 0:00:01.707 ***** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.16-14.el8_5.1.x86_64" ] } TASK [fedora.linux_system_roles.aide : Get AIDE version] *********************** task path: /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 20 November 2025 11:19:28 -0500 (0:00:15.120) 0:00:16.827 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "aide", "--version" ], "delta": "0:00:00.007739", "end": "2025-11-20 11:19:29.081173", "rc": 0, "start": "2025-11-20 11:19:29.073434" } STDERR: Aide 0.16 Compiled with the following options: WITH_MMAP WITH_PCRE WITH_POSIX_ACL WITH_SELINUX WITH_XATTR WITH_E2FSATTRS WITH_LSTAT64 WITH_READDIR64 WITH_ZLIB WITH_CURL WITH_GCRYPT WITH_AUDIT CONFIG_FILE = "/etc/aide.conf" TASK [fedora.linux_system_roles.aide : Set AIDE version] *********************** task path: /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 20 November 2025 11:19:29 -0500 (0:00:00.458) 0:00:17.286 ***** fatal: [managed-node2]: FAILED! => {} MSG: Unexpected templating type error occurred on ({{ __aide_version_register.stdout | regex_search('(?m)^AIDE (\\d.*)$', '\\1') | first }}): 'NoneType' object is not iterable PLAY RECAP ********************************************************************* managed-node2 : ok=6 changed=1 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-11-20T16:19:29.165281+00:00Z", "host": "managed-node2", "message": "Unexpected templating type error occurred on ({{ __aide_version_register.stdout | regex_search('(?m)^AIDE (\\\\d.*)$', '\\\\1') | first }}): 'NoneType' object is not iterable", "start_time": "2025-11-20T16:19:29.134039+00:00Z", "task_name": "Set AIDE version", "task_path": "/tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 20 November 2025 11:19:29 -0500 (0:00:00.032) 0:00:17.319 ***** =============================================================================== fedora.linux_system_roles.aide : Ensure required packages are installed -- 15.12s /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.05s /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/tests/aide/tests_custom_template.yml:3 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.46s /tmp/collections-5wA/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-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.06s /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.04s /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.04s /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.04s /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Set AIDE version ----------------------- 0.03s /tmp/collections-5wA/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 -- Logs begin at Thu 2025-11-20 11:16:13 EST, end at Thu 2025-11-20 11:19:29 EST. -- Nov 20 11:19:11 managed-node2 sshd[7060]: Accepted publickey for root from 10.31.15.210 port 52216 ssh2: ECDSA SHA256:OpxieI/8aRGIl+Ax8rGn6NwpfbAHDzqOjTr2LWpXoK0 Nov 20 11:19:11 managed-node2 systemd[1]: Started Session 7 of user root. -- Subject: Unit session-7.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-7.scope has finished starting up. -- -- The start-up result is done. Nov 20 11:19:11 managed-node2 systemd-logind[620]: New session 7 of user root. -- Subject: A new session 7 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 7 has been created for the user root. -- -- The leading process of the session is 7060. Nov 20 11:19:11 managed-node2 sshd[7060]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 20 11:19:12 managed-node2 platform-python[7205]: ansible-setup Invoked with gather_subset=['all'] gather_timeout=10 filter=* fact_path=/etc/ansible/facts.d Nov 20 11:19:13 managed-node2 platform-python[7353]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Nov 20 11:19:14 managed-node2 platform-python[7476]: ansible-dnf Invoked with name=['aide', 'crontabs'] state=present allow_downgrade=False autoremove=False bugfix=False disable_gpg_check=False disable_plugin=[] disablerepo=[] download_only=False enable_plugin=[] enablerepo=[] exclude=[] installroot=/ install_repoquery=True install_weak_deps=True security=False skip_broken=False update_cache=False update_only=False validate_certs=True lock_timeout=30 conf_file=None disable_excludes=None download_dir=None list=None releasever=None Nov 20 11:19:28 managed-node2 systemd[1]: Started /usr/bin/systemctl start man-db-cache-update. -- Subject: Unit run-rf1f62f3d41c24be28654bdde6b7f237a.service has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit run-rf1f62f3d41c24be28654bdde6b7f237a.service has finished starting up. -- -- The start-up result is done. Nov 20 11:19:28 managed-node2 systemd[1]: cgroup compatibility translation between legacy and unified hierarchy settings activated. See cgroup-compat debug messages for details. Nov 20 11:19:28 managed-node2 systemd[1]: Starting man-db-cache-update.service... -- Subject: Unit man-db-cache-update.service has begun start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit man-db-cache-update.service has begun starting up. Nov 20 11:19:28 managed-node2 systemd[1]: man-db-cache-update.service: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit man-db-cache-update.service has successfully entered the 'dead' state. Nov 20 11:19:28 managed-node2 systemd[1]: Started man-db-cache-update.service. -- Subject: Unit man-db-cache-update.service has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit man-db-cache-update.service has finished starting up. -- -- The start-up result is done. Nov 20 11:19:28 managed-node2 systemd[1]: run-rf1f62f3d41c24be28654bdde6b7f237a.service: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit run-rf1f62f3d41c24be28654bdde6b7f237a.service has successfully entered the 'dead' state. Nov 20 11:19:29 managed-node2 platform-python[7957]: ansible-ansible.builtin.command Invoked with _raw_params=aide --version warn=True _uses_shell=False stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Nov 20 11:19:29 managed-node2 sshd[7979]: Accepted publickey for root from 10.31.15.210 port 45102 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 20 11:19:29 managed-node2 systemd-logind[620]: New session 8 of user root. -- Subject: A new session 8 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 8 has been created for the user root. -- -- The leading process of the session is 7979. Nov 20 11:19:29 managed-node2 systemd[1]: Started Session 8 of user root. -- Subject: Unit session-8.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-8.scope has finished starting up. -- -- The start-up result is done. Nov 20 11:19:29 managed-node2 sshd[7979]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 20 11:19:29 managed-node2 sshd[7982]: Received disconnect from 10.31.15.210 port 45102:11: disconnected by user Nov 20 11:19:29 managed-node2 sshd[7982]: Disconnected from user root 10.31.15.210 port 45102 Nov 20 11:19:29 managed-node2 sshd[7979]: pam_unix(sshd:session): session closed for user root Nov 20 11:19:29 managed-node2 systemd[1]: session-8.scope: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit session-8.scope has successfully entered the 'dead' state. Nov 20 11:19:29 managed-node2 systemd-logind[620]: Session 8 logged out. Waiting for processes to exit. Nov 20 11:19:29 managed-node2 systemd-logind[620]: Removed session 8. -- Subject: Session 8 has been terminated -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A session with the ID 8 has been terminated. Nov 20 11:19:29 managed-node2 sshd[8003]: Accepted publickey for root from 10.31.15.210 port 45106 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 20 11:19:29 managed-node2 systemd[1]: Started Session 9 of user root. -- Subject: Unit session-9.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-9.scope has finished starting up. -- -- The start-up result is done. Nov 20 11:19:29 managed-node2 systemd-logind[620]: New session 9 of user root. -- Subject: A new session 9 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 9 has been created for the user root. -- -- The leading process of the session is 8003. Nov 20 11:19:29 managed-node2 sshd[8003]: pam_unix(sshd:session): session opened for user root by (uid=0)