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-3bU executable location = /usr/local/bin/ansible-playbook python version = 3.12.12 (main, Jan 8 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/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-3bU/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-3bU/ansible_collections/fedora/linux_system_roles/tests/aide/tests_custom_template.yml:3 Tuesday 13 January 2026 18:16:25 -0500 (0:00:00.032) 0:00:00.032 ******* [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, 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-node2] TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Tuesday 13 January 2026 18:16:29 -0500 (0:00:03.395) 0:00:03.427 ******* included: /tmp/collections-3bU/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-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Tuesday 13 January 2026 18:16:29 -0500 (0:00:00.024) 0:00:03.452 ******* 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-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Tuesday 13 January 2026 18:16:29 -0500 (0:00:00.048) 0:00:03.500 ******* 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-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Tuesday 13 January 2026 18:16:29 -0500 (0:00:00.498) 0:00:03.998 ******* 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-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Tuesday 13 January 2026 18:16:29 -0500 (0:00:00.030) 0:00:04.029 ******* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Debug0] ********************************* task path: /tmp/collections-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:6 Tuesday 13 January 2026 18:16:29 -0500 (0:00:00.047) 0:00:04.077 ******* fatal: [managed-node2]: FAILED! => {} MSG: The task includes an option with an undefined variable.. 'ansible_distribution' is undefined The error appears to be in '/tmp/collections-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml': line 6, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Debug0 ^ here PLAY RECAP ********************************************************************* managed-node2 : ok=4 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "end_time": "2026-01-13T23:16:29.899402+00:00Z", "host": "managed-node2", "message": "The task includes an option with an undefined variable.. 'ansible_distribution' is undefined\n\nThe error appears to be in '/tmp/collections-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml': line 6, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Debug0\n ^ here\n", "start_time": "2026-01-13T23:16:29.885413+00:00Z", "task_name": "Debug0", "task_path": "/tmp/collections-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:6" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 13 January 2026 18:16:29 -0500 (0:00:00.015) 0:00:04.093 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 3.40s /tmp/collections-3bU/ansible_collections/fedora/linux_system_roles/tests/aide/tests_custom_template.yml:3 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.50s /tmp/collections-3bU/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.05s /tmp/collections-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.05s /tmp/collections-3bU/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.03s /tmp/collections-3bU/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-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Debug0 --------------------------------- 0.02s /tmp/collections-3bU/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:6 Jan 13 18:16:25 managed-node2 sshd-session[7197]: Accepted publickey for root from 10.31.11.249 port 34610 ssh2: ECDSA SHA256:WpDW4nzJZkd96L5Z3w4nPuZVFab1oYYoU9eOWr8eouU Jan 13 18:16:25 managed-node2 systemd-logind[611]: 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: sd-login(3) ░░ ░░ A new session with the ID 8 has been created for the user root. ░░ ░░ The leading process of the session is 7197. Jan 13 18:16:25 managed-node2 systemd[1]: Started Session 8 of User root. ░░ Subject: A start job for unit session-8.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-8.scope has finished successfully. ░░ ░░ The job identifier is 1118. Jan 13 18:16:25 managed-node2 sshd-session[7197]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Jan 13 18:16:28 managed-node2 python3.9[7374]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Jan 13 18:16:29 managed-node2 python3.9[7549]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Jan 13 18:16:30 managed-node2 sshd-session[7574]: Accepted publickey for root from 10.31.11.249 port 34622 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Jan 13 18:16:30 managed-node2 systemd-logind[611]: 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: sd-login(3) ░░ ░░ A new session with the ID 9 has been created for the user root. ░░ ░░ The leading process of the session is 7574. Jan 13 18:16:30 managed-node2 systemd[1]: Started Session 9 of User root. ░░ Subject: A start job for unit session-9.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-9.scope has finished successfully. ░░ ░░ The job identifier is 1187. Jan 13 18:16:30 managed-node2 sshd-session[7574]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Jan 13 18:16:30 managed-node2 sshd-session[7577]: Received disconnect from 10.31.11.249 port 34622:11: disconnected by user Jan 13 18:16:30 managed-node2 sshd-session[7577]: Disconnected from user root 10.31.11.249 port 34622 Jan 13 18:16:30 managed-node2 sshd-session[7574]: pam_unix(sshd:session): session closed for user root Jan 13 18:16:30 managed-node2 systemd[1]: session-9.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-9.scope has successfully entered the 'dead' state. Jan 13 18:16:30 managed-node2 systemd-logind[611]: Session 9 logged out. Waiting for processes to exit. Jan 13 18:16:30 managed-node2 systemd-logind[611]: Removed session 9. ░░ Subject: Session 9 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 9 has been terminated. Jan 13 18:16:30 managed-node2 sshd-session[7602]: Accepted publickey for root from 10.31.11.249 port 34624 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Jan 13 18:16:30 managed-node2 systemd-logind[611]: 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: sd-login(3) ░░ ░░ A new session with the ID 10 has been created for the user root. ░░ ░░ The leading process of the session is 7602. Jan 13 18:16:30 managed-node2 systemd[1]: Started Session 10 of User root. ░░ Subject: A start job for unit session-10.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-10.scope has finished successfully. ░░ ░░ The job identifier is 1256. Jan 13 18:16:30 managed-node2 sshd-session[7602]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)