Skip to main content

Cockpit Role

This Ansible role can be used to configure the Cockpit Server Administration Web UI.


Variables

VariablesTypeOptionsDefaults
cockpit_service_name:string---cockpit.socket
cockpit_service_state:stringreloaded, restarted, started, stoppedstarted
cockpit_service_enabled:boolfalse, truetrue
cockpit_package_state:stringpresent, absent, latestpresent
cockpit_package:list---cockpit, cockpit-storaged, cockpit-networkmanager
cockpit_additional_package:dict------
cockpit_additional_package.package:string------
cockpit_additional_package.requirement:string------
cockpit_additional_package.state:stringpresent, absent, latest, skippresent
cockpit_firewalld_zone:stringblock, dmz, drop, internal, public, trusted...---
cockpit_firewalld_service:string---cockpit
cockpit_firewalld_state:stringpresent, absent, enabled, disabled, skipenabled

Example Playbook

- name: Import cockpit Role
hosts: all
roles:
- role: giftpilz0.server.cockpit