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-k1K 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_default.yml **************************************************** 1 plays in /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_default.yml PLAY [Test role with default options] ****************************************** TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 Saturday 24 May 2025 08:40:43 -0400 (0:00:00.025) 0:00:00.025 ********** included: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 Saturday 24 May 2025 08:40:43 -0400 (0:00:00.042) 0:00:00.068 ********** [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.cockpit : Run systemctl] *********************** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:10 Saturday 24 May 2025 08:40:44 -0400 (0:00:00.861) 0:00:00.930 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008408", "end": "2025-05-24 08:40:44.597504", "failed_when_result": false, "rc": 0, "start": "2025-05-24 08:40:44.589096" } STDOUT: running TASK [fedora.linux_system_roles.cockpit : Require installed systemd] *********** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:17 Saturday 24 May 2025 08:40:44 -0400 (0:00:00.421) 0:00:01.351 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:22 Saturday 24 May 2025 08:40:44 -0400 (0:00:00.034) 0:00:01.385 ********** ok: [managed-node2] => { "ansible_facts": { "__cockpit_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Check if system is ostree] *********** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:30 Saturday 24 May 2025 08:40:44 -0400 (0:00:00.018) 0:00:01.404 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.cockpit : Set flag to indicate system is ostree] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:35 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.423) 0:00:01.827 ********** ok: [managed-node2] => { "ansible_facts": { "__cockpit_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:42 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.019) 0:00:01.847 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.cockpit : Set flag if transactional-update exists] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:47 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.329) 0:00:02.176 ********** ok: [managed-node2] => { "ansible_facts": { "__cockpit_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Set version specific variables] ****** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:51 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.019) 0:00:02.195 ********** ok: [managed-node2] => (item=/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-9.yml) => { "ansible_facts": { "__cockpit_packages": { "default": "{{ __cockpit_packages_minimal + __cockpit_packages_default }}", "full": "{{ __cockpit_packages_minimal + __cockpit_packages_default + __cockpit_packages_full }}", "minimal": "{{ __cockpit_packages_minimal }}" }, "__cockpit_packages_default": [ "cockpit", "cockpit-networkmanager", "cockpit-packagekit", "cockpit-selinux", "cockpit-storaged" ], "__cockpit_packages_exclude": [ "cockpit-docker", "cockpit-ostree", "cockpit-tests" ], "__cockpit_packages_full": [ "cockpit-*" ], "__cockpit_packages_minimal": [ "cockpit-system", "cockpit-ws" ] }, "ansible_included_var_files": [ "/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-9.yml" } TASK [fedora.linux_system_roles.cockpit : List active RHEL repositories] ******* task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:11 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.019) 0:00:02.215 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Enable RHEL repositories] ************ task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:18 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.010) 0:00:02.226 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:23 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.009) 0:00:02.236 ********** included: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml for managed-node2 => (item=/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml) TASK [fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:2 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.038) 0:00:02.274 ********** ok: [managed-node2] => { "ansible_facts": { "cockpit_packages": "default" }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Get cockpit-bridge available version in "full" package install mode] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:7 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.018) 0:00:02.293 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "cockpit_packages == \"full\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Ignore cockpit-pcp in "full" package install mode with Cockpit ≥ 326] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:17 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.010) 0:00:02.303 ********** ok: [managed-node2] => { "ansible_facts": { "cockpit_packages_dyn_exclude": [] }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:21 Saturday 24 May 2025 08:40:45 -0400 (0:00:00.016) 0:00:02.320 ********** 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 PLAY RECAP ********************************************************************* managed-node2 : ok=12 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-05-24T12:40:49.016612+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-24T12:40:45.614328+00:00Z", "task_name": "Ensure Cockpit Web Console packages are installed", "task_path": "/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:21" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 24 May 2025 08:40:49 -0400 (0:00:03.404) 0:00:05.724 ********** =============================================================================== fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed --- 3.40s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:21 fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role --- 0.86s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 fedora.linux_system_roles.cockpit : Check if system is ostree ----------- 0.42s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:30 fedora.linux_system_roles.cockpit : Run systemctl ----------------------- 0.42s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:10 fedora.linux_system_roles.cockpit : Check if transactional-update exists in /sbin --- 0.33s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:42 fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role --- 0.04s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable --- 0.04s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:23 fedora.linux_system_roles.cockpit : Require installed systemd ----------- 0.03s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:17 fedora.linux_system_roles.cockpit : Set flag to indicate system is ostree --- 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:35 fedora.linux_system_roles.cockpit : Set flag if transactional-update exists --- 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:47 fedora.linux_system_roles.cockpit : Set version specific variables ------ 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:51 fedora.linux_system_roles.cockpit : Set flag to indicate that systemd runtime operations are available --- 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:22 fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included --- 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:2 fedora.linux_system_roles.cockpit : Ignore cockpit-pcp in "full" package install mode with Cockpit ≥ 326 --- 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:17 fedora.linux_system_roles.cockpit : List active RHEL repositories ------- 0.01s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:11 fedora.linux_system_roles.cockpit : Get cockpit-bridge available version in "full" package install mode --- 0.01s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:7 fedora.linux_system_roles.cockpit : Enable RHEL repositories ------------ 0.01s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:18