Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 2.61 KB

README.md

File metadata and controls

41 lines (31 loc) · 2.61 KB

noobient.servicecheck

Synopsys

This role checks the state of systemd units.

Parameters

Name Required Example Description
unit yes firewalld.service Name of the systemd unit to check.

Examples

- include_role:
    name: noobient.servicecheck
  vars:
    unit: 'firewalld.service'

Return Values

Key Type Example Description
servicecheck.systemd boolean true Indicates whether the host was booted with systemd. If not, all other values will be false as well.
servicecheck.exists boolean true Indicates whether the given systemd unit exists on the host.
servicecheck.started boolean false Indicates whether the given system unit is running.

Support

Platform Support Status
Linter Lint
AlmaLinux 8 AlmaLinux 8
AlmaLinux 9 AlmaLinux 9
Fedora 40 Fedora 40
Fedora 41 Fedora 41
Ubuntu 20.04 Ubuntu 20.04
Ubuntu 22.04 Ubuntu 22.04
Ubuntu 24.04 Ubuntu 24.04