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-NXB 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 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_basic.yml ****************************************************** 11 plays in /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_basic.yml PLAY [Ensure that deploying unit files work correctly] ************************* TASK [fedora.linux_system_roles.systemd : Ensure ansible_facts used by role] *** task path: /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:3 Saturday 24 May 2025 19:14:20 -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 [fedora.linux_system_roles.systemd : Support for user units only available in EL7 and later] *** task path: /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:13 Saturday 24 May 2025 19:14:22 -0400 (0:00:02.086) 0:00:02.106 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] is version(\"8\", \"<\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.systemd : Support for user units only available in EL7 and later] *** task path: /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:27 Saturday 24 May 2025 19:14:22 -0400 (0:00:00.016) 0:00:02.123 ********** 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 [fedora.linux_system_roles.systemd : Check if system is ostree] *********** task path: /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:40 Saturday 24 May 2025 19:14:22 -0400 (0:00:00.008) 0:00:02.132 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.systemd : Set flag to indicate system is ostree] *** task path: /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:45 Saturday 24 May 2025 19:14:23 -0400 (0:00:00.428) 0:00:02.560 ********** ok: [managed-node1] => { "ansible_facts": { "__systemd_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.systemd : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:52 Saturday 24 May 2025 19:14:23 -0400 (0:00:00.016) 0:00:02.577 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.systemd : Set flag if transactional-update exists] *** task path: /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:57 Saturday 24 May 2025 19:14:23 -0400 (0:00:00.347) 0:00:02.924 ********** ok: [managed-node1] => { "ansible_facts": { "__systemd_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.systemd : Ensure required packages are installed] *** task path: /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:61 Saturday 24 May 2025 19:14:23 -0400 (0:00:00.016) 0:00:02.941 ********** 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=5 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-24T23:14:28.837784+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-05-24T23:14:23.757009+00:00Z", "task_name": "Ensure required packages are installed", "task_path": "/tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:61" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 24 May 2025 19:14:28 -0400 (0:00:05.082) 0:00:08.024 ********** =============================================================================== fedora.linux_system_roles.systemd : Ensure required packages are installed --- 5.08s /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:61 fedora.linux_system_roles.systemd : Ensure ansible_facts used by role --- 2.09s /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:3 fedora.linux_system_roles.systemd : Check if system is ostree ----------- 0.43s /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:40 fedora.linux_system_roles.systemd : Check if transactional-update exists in /sbin --- 0.35s /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:52 fedora.linux_system_roles.systemd : Set flag if transactional-update exists --- 0.02s /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:57 fedora.linux_system_roles.systemd : Support for user units only available in EL7 and later --- 0.02s /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:13 fedora.linux_system_roles.systemd : Set flag to indicate system is ostree --- 0.02s /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:45 fedora.linux_system_roles.systemd : Support for user units only available in EL7 and later --- 0.01s /tmp/collections-NXB/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:27