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-X9X 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-X9X/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-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 20 November 2025 11:18:22 -0500 (0:00:00.027) 0:00:00.027 ***** included: /tmp/collections-X9X/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-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 20 November 2025 11:18:22 -0500 (0:00:00.017) 0:00:00.045 ***** ok: [managed-node2] TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 20 November 2025 11:18:23 -0500 (0:00:00.865) 0:00:00.911 ***** 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-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 20 November 2025 11:18:24 -0500 (0:00:00.458) 0:00:01.369 ***** 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-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 20 November 2025 11:18:24 -0500 (0:00:00.043) 0:00:01.413 ***** 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-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 20 November 2025 11:18:24 -0500 (0:00:00.052) 0:00:01.465 ***** 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-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 20 November 2025 11:18:27 -0500 (0:00:03.087) 0:00:04.572 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "aide", "--version" ], "delta": "0:00:00.006208", "end": "2025-11-20 11:18:27.633143", "rc": 0, "start": "2025-11-20 11:18:27.626935" } 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-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 20 November 2025 11:18:27 -0500 (0:00:00.425) 0:00:04.997 ***** 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:18:27.707055+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:18:27.677086+00:00Z", "task_name": "Set AIDE version", "task_path": "/tmp/collections-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 20 November 2025 11:18:27 -0500 (0:00:00.031) 0:00:05.028 ***** =============================================================================== fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.11s /tmp/collections-X9X/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-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.46s /tmp/collections-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Get AIDE version ----------------------- 0.43s /tmp/collections-X9X/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-X9X/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-X9X/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-X9X/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-X9X/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 -- Logs begin at Thu 2025-11-20 11:15:07 EST, end at Thu 2025-11-20 11:18:28 EST. -- Nov 20 11:18:23 managed-node2 platform-python[8188]: 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:18:24 managed-node2 platform-python[8315]: 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:18:24 managed-node2 platform-python[8438]: 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:18:25 managed-node2 platform-python[8506]: 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:18:27 managed-node2 platform-python[8630]: 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:18:27 managed-node2 sshd[8652]: Accepted publickey for root from 10.31.9.50 port 49830 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 20 11:18:27 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:18:27 managed-node2 systemd-logind[620]: 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 8652. Nov 20 11:18:27 managed-node2 sshd[8652]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 20 11:18:27 managed-node2 sshd[8655]: Received disconnect from 10.31.9.50 port 49830:11: disconnected by user Nov 20 11:18:27 managed-node2 sshd[8655]: Disconnected from user root 10.31.9.50 port 49830 Nov 20 11:18:27 managed-node2 sshd[8652]: pam_unix(sshd:session): session closed for user root Nov 20 11:18:27 managed-node2 systemd[1]: session-11.scope: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit session-11.scope has successfully entered the 'dead' state. Nov 20 11:18:27 managed-node2 systemd-logind[620]: Session 11 logged out. Waiting for processes to exit. Nov 20 11:18:27 managed-node2 systemd-logind[620]: Removed session 11. -- Subject: Session 11 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 11 has been terminated. Nov 20 11:18:28 managed-node2 sshd[8676]: Accepted publickey for root from 10.31.9.50 port 49832 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 20 11:18:28 managed-node2 systemd[1]: Started Session 12 of user root. -- Subject: Unit session-12.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-12.scope has finished starting up. -- -- The start-up result is done. Nov 20 11:18:28 managed-node2 systemd-logind[620]: New session 12 of user root. -- Subject: A new session 12 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 12 has been created for the user root. -- -- The leading process of the session is 8676. Nov 20 11:18:28 managed-node2 sshd[8676]: pam_unix(sshd:session): session opened for user root by (uid=0)