ansible-playbook [core 2.17.12] 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-Mf9 executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/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 statically imported: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml 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_fcontext.yml *************************************************** 1 plays in /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_fcontext.yml PLAY [Check if selinux role sets SELinux fcontext mappings] ******************** TASK [Ensure ansible_facts used by tests] ************************************** task path: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:12 Saturday 24 May 2025 16:15:51 -0400 (0:00:00.031) 0:00:00.031 ********** [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 [Ensure SELinux testing packages] ***************************************** task path: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:17 Saturday 24 May 2025 16:15:52 -0400 (0:00:00.769) 0:00:00.800 ********** included: fedora.linux_system_roles.selinux for managed-node2 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 24 May 2025 16:15:52 -0400 (0:00:00.031) 0:00:00.832 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 24 May 2025 16:15:52 -0400 (0:00:00.415) 0:00:01.248 ********** ok: [managed-node2] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 24 May 2025 16:15:52 -0400 (0:00:00.020) 0:00:01.269 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 24 May 2025 16:15:52 -0400 (0:00:00.333) 0:00:01.602 ********** ok: [managed-node2] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 24 May 2025 16:15:52 -0400 (0:00:00.020) 0:00:01.622 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_python_version is version('3', '<')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 24 May 2025 16:15:52 -0400 (0:00:00.014) 0:00:01.637 ********** fatal: [managed-node2]: 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 [Unset facts used above] ************************************************** task path: /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:66 Saturday 24 May 2025 16:15:57 -0400 (0:00:04.606) 0:00:06.244 ********** ok: [managed-node2] => { "ansible_facts": { "ansible_facts": { "architecture": "x86_64", "discovered_interpreter_python": "/usr/bin/python3.9", "distribution_file_parsed": true, "distribution_file_path": "/etc/centos-release", "distribution_file_variety": "CentOS", "distribution_release": "Stream", "distribution_version": "9", "domain": "", "fqdn": "managed-node2", "gather_subset": [ "!all", "!min", "distribution", "distribution_major_version", "os_family", "python_version" ], "hostname": "managed-node2", "kernel": "5.14.0-583.el9.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Tue May 6 21:54:50 UTC 2025", "machine": "x86_64", "machine_id": "d7371387b3734a2794a21f96812d775c", "module_setup": true, "nodename": "managed-node2", "system": "Linux", "userspace_architecture": "x86_64", "userspace_bits": "64" } }, "changed": false } PLAY RECAP ********************************************************************* managed-node2 : ok=7 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-05-24T20:15:57.442753+00:00Z", "host": "managed-node2", "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-05-24T20:15:52.842005+00:00Z", "task_name": "Install SELinux python3 tools", "task_path": "/tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 24 May 2025 16:15:57 -0400 (0:00:00.045) 0:00:06.289 ********** =============================================================================== fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 4.61s /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Ensure ansible_facts used by tests -------------------------------------- 0.77s /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:12 fedora.linux_system_roles.selinux : Check if system is ostree ----------- 0.42s /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin --- 0.33s /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Unset facts used above -------------------------------------------------- 0.05s /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:66 Ensure SELinux testing packages ----------------------------------------- 0.03s /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:17 fedora.linux_system_roles.selinux : Set flag to indicate system is ostree --- 0.02s /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 fedora.linux_system_roles.selinux : Set flag if transactional-update exists --- 0.02s /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.01s /tmp/collections-Mf9/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26