Ansible Role cockpit¶
This role can either install or remove all cockpit packages from the system (for security reasons).
Optional Role Variables¶
cockpit__additional_packages
Additional cockpit packages to install, to extend the functionality of the web console.
Type: List of strings.
Default: unset
cockpit__socket_enabled
Enables or disables the
cockpit.socket, analogous tosystemctl enable/disable --now.Type: Bool.
Default:
true
cockpit__state
State of the cockpit packages. Possible Options:
'absent','present'.Type: String.
Default:
'absent'
Example:
# optional
cockpit__additional_packages:
- 'cockpit-machines' # for KVM administration
cockpit__socket_enabled: true
cockpit__state: 'present'