ansible-playbook [core 2.17.7] 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-ujD executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_packages_full.yml ********************************************** 1 plays in /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml PLAY [Test cockpit_packages: full] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:2 Saturday 11 January 2025 07:39:19 -0500 (0:00:00.008) 0:00:00.008 ****** [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 [Include cockpit role] **************************************************** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:8 Saturday 11 January 2025 07:39:20 -0500 (0:00:01.100) 0:00:01.109 ****** included: fedora.linux_system_roles.cockpit for managed-node1 TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 Saturday 11 January 2025 07:39:20 -0500 (0:00:00.081) 0:00:01.190 ****** included: /tmp/collections-ujD/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-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 Saturday 11 January 2025 07:39:20 -0500 (0:00:00.037) 0:00:01.228 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__cockpit_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Check if system is ostree] *********** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:10 Saturday 11 January 2025 07:39:20 -0500 (0:00:00.056) 0:00:01.285 ****** 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-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:15 Saturday 11 January 2025 07:39:21 -0500 (0:00:00.457) 0:00:01.742 ****** 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-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:22 Saturday 11 January 2025 07:39:21 -0500 (0:00:00.024) 0:00:01.767 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.cockpit : Set flag if transactional-update exists] *** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:27 Saturday 11 January 2025 07:39:21 -0500 (0:00:00.338) 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-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:31 Saturday 11 January 2025 07:39:21 -0500 (0:00:00.037) 0:00:02.142 ****** ok: [managed-node1] => (item=/tmp/collections-ujD/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-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-ujD/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-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:11 Saturday 11 January 2025 07:39:21 -0500 (0:00:00.040) 0:00:02.183 ****** 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-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:18 Saturday 11 January 2025 07:39:21 -0500 (0:00:00.025) 0:00:02.208 ****** 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-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:23 Saturday 11 January 2025 07:39:21 -0500 (0:00:00.024) 0:00:02.233 ****** included: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml for managed-node1 => (item=/tmp/collections-ujD/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-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:2 Saturday 11 January 2025 07:39:21 -0500 (0:00:00.079) 0:00:02.313 ****** ok: [managed-node1] => { "ansible_facts": { "cockpit_packages": "full" }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed.] *** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:7 Saturday 11 January 2025 07:39:21 -0500 (0:00:00.033) 0:00:02.347 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "failures": [], "rc": 1, "results": [] } MSG: Depsolve Error occurred: Problem: cannot install both cockpit-bridge-331-1.el9.x86_64 from baseos and cockpit-bridge-330-1.el9.x86_64 from baseos - cannot install the best candidate for the job TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:62 Saturday 11 January 2025 07:39:23 -0500 (0:00:01.654) 0:00:04.001 ****** included: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml for managed-node1 TASK [Cleanup - packages] ****************************************************** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:2 Saturday 11 January 2025 07:39:23 -0500 (0:00:00.037) 0:00:04.038 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Cleanup - services] ****************************************************** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:15 Saturday 11 January 2025 07:39:24 -0500 (0:00:01.332) 0:00:05.371 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__cockpit_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Cleanup - find certificates] ********************************************* task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:25 Saturday 11 January 2025 07:39:24 -0500 (0:00:00.037) 0:00:05.408 ****** [WARNING]: Skipped '/etc/cockpit/ws-certs.d/' path due to this access issue: '/etc/cockpit/ws-certs.d/' is not a directory ok: [managed-node1] => { "changed": false, "examined": 0, "files": [], "matched": 0, "skipped_paths": { "/etc/cockpit/ws-certs.d/": "'/etc/cockpit/ws-certs.d/' is not a directory" } } MSG: Not all paths examined, check warnings for details TASK [Cleanup - certificates] ************************************************** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:35 Saturday 11 January 2025 07:39:25 -0500 (0:00:00.453) 0:00:05.862 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Cleanup - config file] *************************************************** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:44 Saturday 11 January 2025 07:39:25 -0500 (0:00:00.016) 0:00:05.879 ****** ok: [managed-node1] => { "changed": false, "path": "/etc/cockpit/cockpit.conf", "state": "absent" } TASK [Cleanup - port customization] ******************************************** task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:52 Saturday 11 January 2025 07:39:25 -0500 (0:00:00.432) 0:00:06.311 ****** ok: [managed-node1] => { "changed": false, "path": "/etc/systemd/system/cockpit.socket.d/", "state": "absent" } TASK [Cleanup - Reload systemd] ************************************************ task path: /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:60 Saturday 11 January 2025 07:39:26 -0500 (0:00:00.333) 0:00:06.645 ****** ok: [managed-node1] => { "changed": false, "name": null, "status": {} } PLAY RECAP ********************************************************************* managed-node1 : ok=16 changed=0 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 11 January 2025 07:39:26 -0500 (0:00:00.834) 0:00:07.480 ****** =============================================================================== fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed. --- 1.65s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:7 Cleanup - packages ------------------------------------------------------ 1.33s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:2 Gathering Facts --------------------------------------------------------- 1.10s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:2 Cleanup - Reload systemd ------------------------------------------------ 0.83s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:60 fedora.linux_system_roles.cockpit : Check if system is ostree ----------- 0.46s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:10 Cleanup - find certificates --------------------------------------------- 0.45s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:25 Cleanup - config file --------------------------------------------------- 0.43s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:44 fedora.linux_system_roles.cockpit : Check if transactional-update exists in /sbin --- 0.34s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:22 Cleanup - port customization -------------------------------------------- 0.33s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:52 Include cockpit role ---------------------------------------------------- 0.08s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:8 fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable --- 0.08s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:23 fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role --- 0.06s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 fedora.linux_system_roles.cockpit : Set version specific variables ------ 0.04s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:31 fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role --- 0.04s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 Cleanup - services ------------------------------------------------------ 0.04s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:15 Cleanup ----------------------------------------------------------------- 0.04s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:62 fedora.linux_system_roles.cockpit : Set flag if transactional-update exists --- 0.04s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:27 fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included --- 0.03s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:2 fedora.linux_system_roles.cockpit : List active RHEL repositories ------- 0.03s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:11 fedora.linux_system_roles.cockpit : Enable RHEL repositories ------------ 0.02s /tmp/collections-ujD/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:18