New in version 2.3.
Wheater the service is enabled or not, if disabled it also implies stopped.
Name of the service to manage.
directory runsv watches for services
directory where services are defined, the source of symlinks to service_dir.
# Example action to start sv dnscache, if not running - sv: name: dnscache state: started # Example action to stop sv dnscache, if running - sv: name: dnscache state: stopped # Example action to kill sv dnscache, in all cases - sv: name: dnscache state: killed # Example action to restart sv dnscache, in all cases - sv: name: dnscache state: restarted # Example action to reload sv dnscache, in all cases - sv: name: dnscache state: reloaded # Example using alt sv directory location - sv: name: dnscache state: reloaded service_dir: /run/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