ansible-playbook [core 2.17.10] 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-BlT executable location = /usr/local/bin/ansible-playbook python version = 3.12.9 (main, Feb 4 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-4)] (/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 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-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml PLAY [Test cockpit_packages: full] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:2 Wednesday 02 April 2025 11:52:18 -0400 (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-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:8 Wednesday 02 April 2025 11:52:19 -0400 (0:00:01.073) 0:00:01.081 ******* 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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 Wednesday 02 April 2025 11:52:19 -0400 (0:00:00.054) 0:00:01.135 ******* included: /tmp/collections-BlT/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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 Wednesday 02 April 2025 11:52:19 -0400 (0:00:00.020) 0:00:01.156 ******* 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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:10 Wednesday 02 April 2025 11:52:19 -0400 (0:00:00.039) 0:00:01.195 ******* 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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:15 Wednesday 02 April 2025 11:52:19 -0400 (0:00:00.443) 0:00:01.639 ******* 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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:22 Wednesday 02 April 2025 11:52:19 -0400 (0:00:00.026) 0:00:01.665 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.cockpit : Set flag if transactional-update exists] *** task path: /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:27 Wednesday 02 April 2025 11:52:20 -0400 (0:00:00.348) 0:00:02.014 ******* 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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:31 Wednesday 02 April 2025 11:52:20 -0400 (0:00:00.026) 0:00:02.040 ******* ok: [managed-node1] => (item=/tmp/collections-BlT/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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-BlT/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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:11 Wednesday 02 April 2025 11:52:20 -0400 (0:00:00.031) 0:00:02.071 ******* 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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:18 Wednesday 02 April 2025 11:52:20 -0400 (0:00:00.014) 0:00:02.085 ******* 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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:23 Wednesday 02 April 2025 11:52:20 -0400 (0:00:00.019) 0:00:02.104 ******* included: /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml for managed-node1 => (item=/tmp/collections-BlT/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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:2 Wednesday 02 April 2025 11:52:20 -0400 (0:00:00.055) 0:00:02.160 ******* 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-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:7 Wednesday 02 April 2025 11:52:20 -0400 (0:00:00.024) 0:00:02.185 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "failures": [], "rc": 1, "results": [] } MSG: Depsolve Error occurred: Problem: cannot install both cockpit-bridge-334.1-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-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:62 Wednesday 02 April 2025 11:52:22 -0400 (0:00:01.543) 0:00:03.728 ******* included: /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml for managed-node1 TASK [Cleanup - packages] ****************************************************** task path: /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:2 Wednesday 02 April 2025 11:52:22 -0400 (0:00:00.026) 0:00:03.755 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "cockpit* is not installed" ] } MSG: Nothing to do TASK [Cleanup - services] ****************************************************** task path: /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:11 Wednesday 02 April 2025 11:52:25 -0400 (0:00:03.453) 0:00:07.209 ******* 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-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:21 Wednesday 02 April 2025 11:52:25 -0400 (0:00:00.033) 0:00:07.242 ******* [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-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:31 Wednesday 02 April 2025 11:52:25 -0400 (0:00:00.432) 0:00:07.675 ******* skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Cleanup - config file] *************************************************** task path: /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:40 Wednesday 02 April 2025 11:52:25 -0400 (0:00:00.015) 0:00:07.690 ******* ok: [managed-node1] => { "changed": false, "path": "/etc/cockpit/cockpit.conf", "state": "absent" } TASK [Cleanup - port customization] ******************************************** task path: /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:48 Wednesday 02 April 2025 11:52:26 -0400 (0:00:00.436) 0:00:08.127 ******* ok: [managed-node1] => { "changed": false, "path": "/etc/systemd/system/cockpit.socket.d/", "state": "absent" } TASK [Cleanup - Reload systemd] ************************************************ task path: /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:56 Wednesday 02 April 2025 11:52:26 -0400 (0:00:00.341) 0:00:08.469 ******* 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 ******************************************************************** Wednesday 02 April 2025 11:52:27 -0400 (0:00:00.854) 0:00:09.323 ******* =============================================================================== Cleanup - packages ------------------------------------------------------ 3.45s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:2 fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed. --- 1.54s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:7 Gathering Facts --------------------------------------------------------- 1.07s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:2 Cleanup - Reload systemd ------------------------------------------------ 0.85s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:56 fedora.linux_system_roles.cockpit : Check if system is ostree ----------- 0.44s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:10 Cleanup - config file --------------------------------------------------- 0.44s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:40 Cleanup - find certificates --------------------------------------------- 0.43s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:21 fedora.linux_system_roles.cockpit : Check if transactional-update exists in /sbin --- 0.35s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:22 Cleanup - port customization -------------------------------------------- 0.34s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:48 fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable --- 0.06s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:23 Include cockpit role ---------------------------------------------------- 0.05s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:8 fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role --- 0.04s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 Cleanup - services ------------------------------------------------------ 0.03s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:11 fedora.linux_system_roles.cockpit : Set version specific variables ------ 0.03s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:31 Cleanup ----------------------------------------------------------------- 0.03s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:62 fedora.linux_system_roles.cockpit : Set flag to indicate system is ostree --- 0.03s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:15 fedora.linux_system_roles.cockpit : Set flag if transactional-update exists --- 0.03s /tmp/collections-BlT/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.02s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:2 fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role --- 0.02s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 fedora.linux_system_roles.cockpit : Enable RHEL repositories ------------ 0.02s /tmp/collections-BlT/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:18