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_default.yml **************************************************** 1 plays in /tmp/collections-WDr/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-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 20 November 2025 11:20:25 -0500 (0:00:00.022) 0:00:00.022 ***** 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:25 -0500 (0:00:00.016) 0:00:00.038 ***** ok: [managed-node2] 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:26 -0500 (0:00:00.866) 0:00:00.905 ***** 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:26 -0500 (0:00:00.468) 0:00:01.373 ***** 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:27 -0500 (0:00:00.040) 0:00:01.414 ***** 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:27 -0500 (0:00:00.049) 0:00:01.463 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do 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:30 -0500 (0:00:03.155) 0:00:04.635 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "aide", "--version" ], "delta": "0:00:00.006603", "end": "2025-11-20 11:20:30.616801", "rc": 0, "start": "2025-11-20 11:20:30.610198" } 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:30 -0500 (0:00:00.423) 0:00:05.058 ***** 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=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.16.14", "end_time": "2025-11-20T16:20:30.687929+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:30.660203+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:30 -0500 (0:00:00.029) 0:00:05.087 ***** =============================================================================== fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.17s /tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.87s /tmp/collections-WDr/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-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Get AIDE version ----------------------- 0.42s /tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.05s /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.04s /tmp/collections-WDr/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 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.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:31 EST. -- Nov 20 11:20:25 managed-node2 sshd[8022]: Received disconnect from 10.31.11.239 port 50062:11: disconnected by user Nov 20 11:20:25 managed-node2 sshd[8022]: Disconnected from user root 10.31.11.239 port 50062 Nov 20 11:20:25 managed-node2 sshd[8019]: pam_unix(sshd:session): session closed for user root Nov 20 11:20:25 managed-node2 systemd[1]: session-9.scope: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit session-9.scope has successfully entered the 'dead' state. Nov 20 11:20:25 managed-node2 systemd-logind[610]: Session 9 logged out. Waiting for processes to exit. Nov 20 11:20:25 managed-node2 systemd-logind[610]: Removed session 9. -- Subject: Session 9 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 9 has been terminated. Nov 20 11:20:26 managed-node2 platform-python[8184]: ansible-setup Invoked with gather_subset=['!all', '!min', 'distribution', 'distribution_major_version', 'distribution_version', 'os_family'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Nov 20 11:20:26 managed-node2 platform-python[8311]: 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:27 managed-node2 platform-python[8434]: ansible-ansible.legacy.setup Invoked with filter=['ansible_pkg_mgr'] gather_subset=['!all'] gather_timeout=10 fact_path=/etc/ansible/facts.d Nov 20 11:20:28 managed-node2 platform-python[8502]: 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:30 managed-node2 platform-python[8626]: 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:30 managed-node2 sshd[8648]: Accepted publickey for root from 10.31.11.239 port 35066 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 20 11:20:30 managed-node2 systemd[1]: Started Session 10 of user root. -- Subject: Unit session-10.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-10.scope has finished starting up. -- -- The start-up result is done. Nov 20 11:20:30 managed-node2 systemd-logind[610]: New session 10 of user root. -- Subject: A new session 10 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 10 has been created for the user root. -- -- The leading process of the session is 8648. Nov 20 11:20:30 managed-node2 sshd[8648]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 20 11:20:30 managed-node2 sshd[8651]: Received disconnect from 10.31.11.239 port 35066:11: disconnected by user Nov 20 11:20:30 managed-node2 sshd[8651]: Disconnected from user root 10.31.11.239 port 35066 Nov 20 11:20:30 managed-node2 sshd[8648]: pam_unix(sshd:session): session closed for user root Nov 20 11:20:30 managed-node2 systemd[1]: session-10.scope: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit session-10.scope has successfully entered the 'dead' state. Nov 20 11:20:30 managed-node2 systemd-logind[610]: Session 10 logged out. Waiting for processes to exit. Nov 20 11:20:30 managed-node2 systemd-logind[610]: Removed session 10. -- Subject: Session 10 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 10 has been terminated. Nov 20 11:20:31 managed-node2 sshd[8672]: Accepted publickey for root from 10.31.11.239 port 35080 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 20 11:20:31 managed-node2 systemd[1]: Started Session 11 of user root. -- Subject: Unit session-11.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-11.scope has finished starting up. -- -- The start-up result is done. Nov 20 11:20:31 managed-node2 systemd-logind[610]: New session 11 of user root. -- Subject: A new session 11 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 11 has been created for the user root. -- -- The leading process of the session is 8672. Nov 20 11:20:31 managed-node2 sshd[8672]: pam_unix(sshd:session): session opened for user root by (uid=0)