forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DOCUMENTATION for module documentation.
- Loading branch information
Showing
3 changed files
with
118 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../examples/DOCUMENTATION.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
# If a key doesn't apply to your module (ex: choices, default, or | ||
# aliases) you can use the word 'null', or an empty list, [], where | ||
# appropriate. | ||
module: modulename | ||
short_description: This is a sentence describing the module | ||
description: | ||
- Longer description of the module | ||
- You might include instructions | ||
version_added: 0.X | ||
author: Your AWESOME name here | ||
notes: | ||
- Other things consumers of your module should know | ||
requirements: | ||
- list of required things | ||
- like the factor package | ||
- or a specic platform | ||
options: | ||
# One or more of the following | ||
option_name: | ||
description: | ||
- Words go here | ||
- that describe | ||
- this option | ||
required: true or false | ||
default: a string or the word null | ||
choices: [list, of, choices] | ||
aliases: [list, of, aliases] | ||
version_added: 0.X | ||
examples: | ||
# One or more of the following: | ||
- code: modulename opt1=arg1 opt2=arg2 | ||
description: Optional words describing this example |