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-POt 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-POt/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-POt/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_login.yml ****************************************************** 1 plays in /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml PLAY [Check if selinux role sets SELinux login mappings] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:2 Wednesday 21 May 2025 17:57:25 -0400 (0:00:00.020) 0:00:00.020 ********* [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 [Add a System Api Roles SELinux User] ************************************* task path: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:5 Wednesday 21 May 2025 17:57:26 -0400 (0:00:01.063) 0:00:01.084 ********* changed: [managed-node1] => { "changed": true, "comment": "System Api Roles SELinux User", "create_home": true, "group": 1000, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1000 } TASK [Initial changes] ********************************************************* task path: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:10 Wednesday 21 May 2025 17:57:26 -0400 (0:00:00.603) 0:00:01.687 ********* redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: fedora.linux_system_roles.selinux for managed-node1 TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 21 May 2025 17:57:26 -0400 (0:00:00.120) 0:00:01.808 ********* included: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 21 May 2025 17:57:26 -0400 (0:00:00.036) 0:00:01.844 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__selinux_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 21 May 2025 17:57:26 -0400 (0:00:00.058) 0:00:01.903 ********* included: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Wednesday 21 May 2025 17:57:27 -0400 (0:00:00.046) 0:00:01.949 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Wednesday 21 May 2025 17:57:27 -0400 (0:00:00.530) 0:00:02.480 ********* ok: [managed-node1] => { "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-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Wednesday 21 May 2025 17:57:27 -0400 (0:00:00.035) 0:00:02.515 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Wednesday 21 May 2025 17:57:27 -0400 (0:00:00.356) 0:00:02.871 ********* ok: [managed-node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Wednesday 21 May 2025 17:57:27 -0400 (0:00:00.024) 0:00:02.896 ********* skipping: [managed-node1] => { "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-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Wednesday 21 May 2025 17:57:27 -0400 (0:00:00.018) 0:00:02.914 ********* 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 PLAY RECAP ********************************************************************* managed-node1 : ok=9 changed=1 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 21 May 2025 17:57:31 -0400 (0:00:03.802) 0:00:06.716 ********* =============================================================================== fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 3.80s /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Gathering Facts --------------------------------------------------------- 1.06s /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:2 Add a System Api Roles SELinux User ------------------------------------- 0.60s /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:5 fedora.linux_system_roles.selinux : Check if system is ostree ----------- 0.53s /tmp/collections-POt/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.36s /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Initial changes --------------------------------------------------------- 0.12s /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:10 fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.06s /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 fedora.linux_system_roles.selinux : Ensure SELinux packages ------------- 0.05s /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages --- 0.04s /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 fedora.linux_system_roles.selinux : Set flag to indicate system is ostree --- 0.04s /tmp/collections-POt/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-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.02s /tmp/collections-POt/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26