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-HCN executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/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_add_rm.yml ***************************************************** 1 plays in /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Saturday 11 October 2025 08:53:11 -0400 (0:00:00.019) 0:00:00.019 ****** included: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 11 October 2025 08:53:11 -0400 (0:00:00.012) 0:00:00.032 ****** [WARNING]: Platform linux on host managed-node1 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-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 11 October 2025 08:53:13 -0400 (0:00:02.099) 0:00:02.131 ****** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 11 October 2025 08:53:13 -0400 (0:00:00.006) 0:00:02.137 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 October 2025 08:53:13 -0400 (0:00:00.056) 0:00:02.194 ****** included: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 October 2025 08:53:13 -0400 (0:00:00.017) 0:00:02.211 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 October 2025 08:53:13 -0400 (0:00:00.035) 0:00:02.247 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 October 2025 08:53:14 -0400 (0:00:00.491) 0:00:02.738 ****** ok: [managed-node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 October 2025 08:53:14 -0400 (0:00:00.021) 0:00:02.760 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 October 2025 08:53:14 -0400 (0:00:00.028) 0:00:02.788 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 11 October 2025 08:53:14 -0400 (0:00:00.011) 0:00:02.800 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 11 October 2025 08:53:14 -0400 (0:00:00.042) 0:00:02.843 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Saturday 11 October 2025 08:53:26 -0400 (0:00:12.485) 0:00:15.328 ****** fatal: [managed-node1]: FAILED! => {} MSG: The task includes an option with an undefined variable.. '__default_kernel' is undefined The error appears to be in '/tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml': line 138, column 11, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: always: - name: Remove cloned kernels ^ here PLAY RECAP ********************************************************************* managed-node1 : ok=6 changed=0 unreachable=0 failed=2 skipped=4 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "end_time": "2025-10-11T12:53:26.928322+00:00Z", "host": "managed-node1", "message": "Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "start_time": "2025-10-11T12:53:14.446173+00:00Z", "task_name": "Ensure required packages are installed", "task_path": "/tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 11 October 2025 08:53:26 -0400 (0:00:00.011) 0:00:15.340 ****** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 12.49s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 2.10s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.49s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Get bootloader_facts ---------------------------------------------------- 0.06s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values --- 0.04s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.04s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.03s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree --- 0.02s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Skip on s390x architecture ---------------------------------------------- 0.01s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Remove cloned kernels --------------------------------------------------- 0.01s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Fail on s390x architecture ------- 0.01s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 End host on s390x architecture ------------------------------------------ 0.01s /tmp/collections-HCN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Oct 11 08:53:11 managed-node1 sshd-session[7611]: Accepted publickey for root from 10.31.8.229 port 47998 ssh2: ECDSA SHA256:iNDguBFoHCDxSm/0pFa63GTjQIkld5XJs0svYk7Jiko Oct 11 08:53:11 managed-node1 systemd-logind[608]: 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: sd-login(3) ░░ ░░ A new session with the ID 7 has been created for the user root. ░░ ░░ The leading process of the session is 7611. Oct 11 08:53:11 managed-node1 systemd[1]: Started Session 7 of User root. ░░ Subject: A start job for unit session-7.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-7.scope has finished successfully. ░░ ░░ The job identifier is 1038. Oct 11 08:53:11 managed-node1 sshd-session[7611]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 08:53:11 managed-node1 systemd[1]: systemd-hostnamed.service: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit systemd-hostnamed.service has successfully entered the 'dead' state. Oct 11 08:53:13 managed-node1 python3.9[7790]: ansible-setup Invoked with gather_subset=['architecture'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 11 08:53:14 managed-node1 python3.9[7943]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Oct 11 08:53:14 managed-node1 python3.9[8092]: ansible-ansible.legacy.dnf Invoked with name=['grubby'] state=present allow_downgrade=False allowerasing=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 use_backend=auto best=None conf_file=None disable_excludes=None download_dir=None list=None nobest=None releasever=None Oct 11 08:53:27 managed-node1 sshd-session[8172]: Accepted publickey for root from 10.31.8.229 port 45184 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 08:53:27 managed-node1 systemd-logind[608]: 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 8172. Oct 11 08:53:27 managed-node1 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 1108. Oct 11 08:53:27 managed-node1 sshd-session[8172]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 08:53:27 managed-node1 sshd-session[8175]: Received disconnect from 10.31.8.229 port 45184:11: disconnected by user Oct 11 08:53:27 managed-node1 sshd-session[8175]: Disconnected from user root 10.31.8.229 port 45184 Oct 11 08:53:27 managed-node1 sshd-session[8172]: pam_unix(sshd:session): session closed for user root Oct 11 08:53:27 managed-node1 systemd-logind[608]: Session 8 logged out. Waiting for processes to exit. Oct 11 08:53:27 managed-node1 systemd[1]: session-8.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-8.scope has successfully entered the 'dead' state. Oct 11 08:53:27 managed-node1 systemd-logind[608]: Removed session 8. ░░ Subject: Session 8 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 8 has been terminated. Oct 11 08:53:27 managed-node1 sshd-session[8200]: Accepted publickey for root from 10.31.8.229 port 45192 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 08:53:27 managed-node1 systemd-logind[608]: 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 8200. Oct 11 08:53:27 managed-node1 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 1177. Oct 11 08:53:27 managed-node1 sshd-session[8200]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)