Systemd Facts

systemd.SystemdEnabled

host.get_fact(SystemdEnabled)

Returns a dict of name -> whether enabled for systemd managed services.

systemd.SystemdStatus

host.get_fact(SystemdStatus)

Returns a dict of name -> status for systemd managed services.