mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-02 22:39:09 -07:00
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:
parent
328319b926
commit
327832dcbb
30 changed files with 299 additions and 268 deletions
|
@ -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
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue