Skip to content

Ansible Role linuxfabrik.lfops.kdump

This role stops and disables the kdump service. Since most of the time, kdump is not required, but permanently reserves space in the memory for the capture kernel, we usually disable it.

Tags

kdump

  • Stops and disables the kdump service.
  • Triggers: none.

Optional Role Variables

kdump__service_enabled

  • Enables or disables the kdump service, analogous to systemctl enable/disable.
  • Type: Bool.
  • Default: false

kdump__service_state

  • Changes the state of the kdump service, analogous to systemctl start/stop/restart/reload. Possible options:

    • started
    • stopped
    • restarted
    • reloaded
  • Type: String.

  • Default: 'stopped'

Example:

# optional
kdump__service_enabled: false
kdump__service_state: 'stopped'

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich