New in version 1.9.
Should a 'down' file exist or not, if it exists it disables auto startup. defaults to no. Downed does not imply stopped.
Wheater the service is enabled or not, if disabled it also implies stopped. Make note that a service can be enabled and downed (no auto restart).
Name of the service to manage.
directory svscan watches for services
directory where services are defined, the source of symlinks to service_dir.
# Example action to start svc dnscache, if not running - svc: name: dnscache state: started # Example action to stop svc dnscache, if running - svc: name: dnscache state: stopped # Example action to kill svc dnscache, in all cases - svc: name: dnscache state: killed # Example action to restart svc dnscache, in all cases - svc: name: dnscache state: restarted # Example action to reload svc dnscache, in all cases - svc: name: dnscache state: reloaded # Example using alt svc directory location - svc: name: dnscache state: reloaded service_dir: /var/service
This module is flagged as stableinterface which means that the maintainers for this module guarantee that no backward incompatible interface changes will be made.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support