Fix Ansible documentation in part of example formatting. Part 2 (#333)

* Fix Ansible documentation in part of example formatting

* fix

* Revert osx_defaults.py
This commit is contained in:
Andrew Klychkov 2020-05-15 13:27:06 +03:00 committed by GitHub
parent 328319b926
commit 327832dcbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 299 additions and 268 deletions

View file

@ -42,23 +42,23 @@ requirements:
'''
EXAMPLES = '''
# Example action to start service httpd, if not running
- openwrt_init:
- name: Start service httpd, if not running
openwrt_init:
state: started
name: httpd
# Example action to stop service cron, if running
- openwrt_init:
- name: Stop service cron, if running
openwrt_init:
name: cron
state: stopped
# Example action to reload service httpd, in all cases
- openwrt_init:
- name: Reload service httpd, in all cases
openwrt_init:
name: httpd
state: reloaded
# Example action to enable service httpd
- openwrt_init:
- name: Enable service httpd
openwrt_init:
name: httpd
enabled: yes
'''