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_config.yml ***************************************************** 1 plays in /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_config.yml PLAY [Test cockpit_* role 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:41 -0400 (0:00:00.031) 0:00:00.031 ********** included: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml for managed-node1 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:41 -0400 (0:00:00.017) 0:00:00.049 ********** [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.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:42 -0400 (0:00:00.727) 0:00:00.776 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007852", "end": "2025-05-24 08:40:42.381477", "failed_when_result": false, "rc": 0, "start": "2025-05-24 08:40:42.373625" } 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:42 -0400 (0:00:00.421) 0:00:01.198 ********** skipping: [managed-node1] => { "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:42 -0400 (0:00:00.033) 0:00:01.232 ********** ok: [managed-node1] => { "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:42 -0400 (0:00:00.018) 0:00:01.250 ********** ok: [managed-node1] => { "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:42 -0400 (0:00:00.415) 0:00:01.666 ********** ok: [managed-node1] => { "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:42 -0400 (0:00:00.028) 0:00:01.694 ********** ok: [managed-node1] => { "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:43 -0400 (0:00:00.410) 0:00:02.105 ********** ok: [managed-node1] => { "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:43 -0400 (0:00:00.028) 0:00:02.133 ********** ok: [managed-node1] => (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:43 -0400 (0:00:00.033) 0:00:02.167 ********** skipping: [managed-node1] => { "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:43 -0400 (0:00:00.018) 0:00:02.185 ********** skipping: [managed-node1] => { "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:43 -0400 (0:00:00.012) 0:00:02.198 ********** included: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml for managed-node1 => (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:43 -0400 (0:00:00.042) 0:00:02.240 ********** ok: [managed-node1] => { "ansible_facts": { "cockpit_packages": "minimal" }, "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:43 -0400 (0:00:00.026) 0:00:02.267 ********** skipping: [managed-node1] => { "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:43 -0400 (0:00:00.015) 0:00:02.283 ********** ok: [managed-node1] => { "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:43 -0400 (0:00:00.027) 0:00:02.311 ********** 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=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:47.476884+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-24T12:40:43.542566+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:47 -0400 (0:00:03.937) 0:00:06.248 ********** =============================================================================== fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed --- 3.94s /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.73s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 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 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 : Check if transactional-update exists in /sbin --- 0.41s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:42 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 version specific variables ------ 0.03s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:51 fedora.linux_system_roles.cockpit : Set flag if transactional-update exists --- 0.03s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:47 fedora.linux_system_roles.cockpit : Set flag to indicate system is ostree --- 0.03s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:35 fedora.linux_system_roles.cockpit : Ignore cockpit-pcp in "full" package install mode with Cockpit ≥ 326 --- 0.03s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:17 fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included --- 0.03s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:2 fedora.linux_system_roles.cockpit : List active RHEL repositories ------- 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:11 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 : Ensure ansible_facts and variables used by role --- 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 fedora.linux_system_roles.cockpit : Get cockpit-bridge available version in "full" package install mode --- 0.02s /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