Services are defined as system daemons typically started with system init or rc scripts, services can be defined as running or dead.
httpd:
service:
- running
Members
Ensure that the named service is dead
Verify that the service is disabled on boot, only use this state if you don't want to manage the running process, remember that if you want to disable a service to use the enable: False option for the running or dead function.
Verify that the service is enabled on boot, only use this state if you don't want to manage the running process, remember that if you want to enable a running service to use the enable: True option for the running or dead function.
The service watcher, called to invoke the watch command.
Verify that the service is running