ansible-playbook [core 2.16.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-WDr executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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_custom_template.yml ******************************************** 1 plays in /tmp/collections-WDr/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-WDr/ansible_collections/fedora/linux_system_roles/tests/aide/tests_custom_template.yml:3 Thursday 20 November 2025 11:20:07 -0500 (0:00:00.021) 0:00:00.021 ***** ok: [managed-node2] TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 20 November 2025 11:20:08 -0500 (0:00:01.243) 0:00:01.265 ***** included: /tmp/collections-WDr/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-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 20 November 2025 11:20:08 -0500 (0:00:00.018) 0:00:01.283 ***** 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-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 20 November 2025 11:20:08 -0500 (0:00:00.034) 0:00:01.317 ***** 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-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 20 November 2025 11:20:09 -0500 (0:00:00.431) 0:00:01.749 ***** 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-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 20 November 2025 11:20:09 -0500 (0:00:00.020) 0:00:01.769 ***** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.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-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 20 November 2025 11:20:09 -0500 (0:00:00.029) 0:00:01.799 ***** 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-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 20 November 2025 11:20:24 -0500 (0:00:14.893) 0:00:16.692 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "aide", "--version" ], "delta": "0:00:00.008540", "end": "2025-11-20 11:20:24.545072", "rc": 0, "start": "2025-11-20 11:20:24.536532" } 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-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 20 November 2025 11:20:24 -0500 (0:00:00.440) 0:00:17.133 ***** 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. '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.16.14", "end_time": "2025-11-20T16:20:24.621039+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. 'NoneType' object is not iterable", "start_time": "2025-11-20T16:20:24.592637+00:00Z", "task_name": "Set AIDE version", "task_path": "/tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 20 November 2025 11:20:24 -0500 (0:00:00.029) 0:00:17.163 ***** =============================================================================== fedora.linux_system_roles.aide : Ensure required packages are installed -- 14.89s /tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.24s /tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/tests/aide/tests_custom_template.yml:3 fedora.linux_system_roles.aide : Get AIDE version ----------------------- 0.44s /tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.43s /tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.03s /tmp/collections-WDr/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-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-WDr/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.02s /tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.02s /tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 -- Logs begin at Thu 2025-11-20 11:17:00 EST, end at Thu 2025-11-20 11:20:24 EST. -- Nov 20 11:20:07 managed-node2 sshd[7071]: Accepted publickey for root from 10.31.11.239 port 46412 ssh2: ECDSA SHA256:eQKBvA0mWjMzcIjA8MLUEaz56eX45NAUQbqVr3UzQ+k Nov 20 11:20:07 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:20:07 managed-node2 systemd-logind[610]: 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 7071. Nov 20 11:20:07 managed-node2 sshd[7071]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 20 11:20:08 managed-node2 platform-python[7216]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Nov 20 11:20:09 managed-node2 platform-python[7368]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Nov 20 11:20:09 managed-node2 platform-python[7491]: ansible-ansible.legacy.dnf Invoked with name=['aide', 'crontabs'] state=present allow_downgrade=False autoremove=False bugfix=False cacheonly=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 sslverify=True lock_timeout=30 allowerasing=False nobest=False use_backend=auto conf_file=None disable_excludes=None download_dir=None list=None releasever=None Nov 20 11:20:23 managed-node2 systemd[1]: Started /usr/bin/systemctl start man-db-cache-update. -- Subject: Unit run-rd5f2622929bd4935ad825bd3969c724c.service has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit run-rd5f2622929bd4935ad825bd3969c724c.service has finished starting up. -- -- The start-up result is done. Nov 20 11:20:23 managed-node2 systemd[1]: cgroup compatibility translation between legacy and unified hierarchy settings activated. See cgroup-compat debug messages for details. Nov 20 11:20:23 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:20:24 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:20:24 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:20:24 managed-node2 systemd[1]: run-rd5f2622929bd4935ad825bd3969c724c.service: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit run-rd5f2622929bd4935ad825bd3969c724c.service has successfully entered the 'dead' state. Nov 20 11:20:24 managed-node2 platform-python[7973]: ansible-ansible.legacy.command Invoked with _raw_params=aide --version _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Nov 20 11:20:24 managed-node2 sshd[7995]: Accepted publickey for root from 10.31.11.239 port 50058 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 20 11:20:24 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:20:24 managed-node2 systemd-logind[610]: 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 7995. Nov 20 11:20:24 managed-node2 sshd[7995]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 20 11:20:24 managed-node2 sshd[7998]: Received disconnect from 10.31.11.239 port 50058:11: disconnected by user Nov 20 11:20:24 managed-node2 sshd[7998]: Disconnected from user root 10.31.11.239 port 50058 Nov 20 11:20:24 managed-node2 sshd[7995]: pam_unix(sshd:session): session closed for user root Nov 20 11:20:24 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:20:24 managed-node2 systemd-logind[610]: Session 8 logged out. Waiting for processes to exit. Nov 20 11:20:24 managed-node2 systemd-logind[610]: 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:20:24 managed-node2 sshd[8019]: Accepted publickey for root from 10.31.11.239 port 50062 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 20 11:20:24 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:20:24 managed-node2 systemd-logind[610]: 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 8019. Nov 20 11:20:24 managed-node2 sshd[8019]: pam_unix(sshd:session): session opened for user root by (uid=0)