mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-07 19:23:09 +00:00
Standardize docs
This commit is contained in:
@@ -38,13 +38,15 @@ options:
|
||||
required: true
|
||||
default: null
|
||||
choices: [ "present", "started", "stopped", "restarted" ]
|
||||
examples:
|
||||
- code: "supervisorctl: name=my_app state=started"
|
||||
description: Manage the state of program I(my_app) to be in I(started) state.
|
||||
requirements: [ ]
|
||||
author: Matt Wright
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Manage the state of program to be in 'started' state.
|
||||
supervisorctl: name=my_app state=started
|
||||
'''
|
||||
|
||||
def main():
|
||||
arg_spec = dict(
|
||||
name=dict(required=True),
|
||||
|
||||
Reference in New Issue
Block a user