Skip to main content

Cockpit Role

Install and enable the Cockpit web console.


Variables​

VariableTypeOptionsDefaultDescription
cockpit_service_namestring---cockpit.socketsystemd service unit name
cockpit_service_statestringreloaded, restarted, started, stoppedstarteddesired state of the cockpit service
cockpit_service_enabledbooltrue, falsetruewhether the cockpit service is enabled at boot
cockpit_package_statestringpresent, absent, latestpresentdesired state of cockpit packages
cockpit_packagelist of string---["cockpit","cockpit-storaged","cockpit-networkmanager"]list of cockpit packages to install
cockpit_additional_package_statestringpresent, absent, latest, skipdesired state of additional cockpit packages
cockpit_additional_packagelist of dict---[{"package":"cockpit-pcp","requirement":"pcp","state":"present"},{"package":"cockpit-podman","requirement":"podman","state":"present"},{"package":"cockpit-selinux","requirement":"libselinux","state":"present"},{"package":"cockpit-machines","requirement":"qemu-kvm","state":"present"}]list of additional cockpit packages with requirements
cockpit_additional_package.packagestring---package name
cockpit_additional_package.requirementstring---requirement package name
cockpit_additional_package.statestringpresent, absent, latest, skipdesired state of the package
cockpit_firewalld_zonestring---firewall zone for cockpit rules
cockpit_firewalld_servicestring---cockpitfirewall service name
cockpit_firewalld_statestringpresent, absent, enabled, disabled, skipenableddesired state of firewall rules