Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cockpit not installed by os.yml #9

Open
mayaCostantini opened this issue Jul 20, 2023 · 0 comments · May be fixed by #10
Open

Cockpit not installed by os.yml #9

mayaCostantini opened this issue Jul 20, 2023 · 0 comments · May be fixed by #10

Comments

@mayaCostantini
Copy link
Collaborator

If cockpit is not already present, the os.yml playbook task Install System Packages dependencies does not install the package. The issue is resolved when installing cockpit manually.

The cockpit role docs suggest that the cockpit package should be specified in cockpit_packages.

Logs:

TASK [sigstore_scaffolding : Install System Packages dependencies] **********************************************************************************************************************************
ok: [localhost]

TASK [Install Cockpit] ******************************************************************************************************************************************************************************

TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role] **********************************************************************************************************
included: /home/ec2-user/.ansible/collections/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml for localhost

TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role] ************************************************************************************************************************
skipping: [localhost]

TASK [fedora.linux_system_roles.cockpit : Set version specific variables] ***************************************************************************************************************************
ok: [localhost] => (item=/home/ec2-user/.ansible/collections/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/RedHat-9.yml)

TASK [fedora.linux_system_roles.cockpit : List active RHEL repositories] ****************************************************************************************************************************
skipping: [localhost]

TASK [fedora.linux_system_roles.cockpit : Enable RHEL repositories] *********************************************************************************************************************************
skipping: [localhost]

TASK [fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] ****************************************************************************
included: /home/ec2-user/.ansible/collections/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml for localhost => (item=/home/ec2-user/.ansible/collections/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] ***************************************************************************************
ok: [localhost]

TASK [fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed.] *******************************************************************************************************
ok: [localhost]

TASK [fedora.linux_system_roles.cockpit : Configure firewall] ***************************************************************************************************************************************
included: /home/ec2-user/.ansible/collections/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/firewall.yml for localhost

TASK [Ensure the cockpit service is enabled] ********************************************************************************************************************************************************

[...]


TASK [fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled] ***************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Could not find the requested service cockpit.socket: host"}

Environment: RHEL 9.2

sallyom added a commit to sallyom/sigstore-ansible that referenced this issue Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant