service_facts - Return service state information as fact data
- Return service state information as fact data for various service management utilities
The below requirements are needed on the host that executes this module.
- Any of the following supported init systems: systemd, sysv, upstart
- name: populate service facts
Facts returned by this module are added/updated in the
hostvars host facts and can be referenced by name just like any other host fact. They do not need to be registered in order to use them.
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.