Native YAML - system (#3625)

* Native YAML - system

* Remove comment that is not applicable to the code
This commit is contained in:
Fabio Alessandro Locati 2016-12-02 15:48:22 +00:00 committed by Matt Clay
parent 737c6afb54
commit cc25f24475
26 changed files with 514 additions and 135 deletions

View file

@ -59,11 +59,20 @@ requirements:
EXAMPLES = '''
# Example action to start service httpd, if not running
- openwrt_init: state=started name=httpd
- openwrt_init:
state: started
name: httpd
# Example action to stop service cron, if running
- openwrt_init: name=cron state=stopped
- openwrt_init:
name: cron
state: stopped
# Example action to reload service httpd, in all cases
- openwrt_init: name=httpd state=reloaded
- openwrt_init:
name: httpd
state: reloaded
# Example action to enable service httpd
- openwrt_init:
name: httpd