2012-10-12 19:17:00 +00:00
|
|
|
---
|
|
|
|
# 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.
|
2018-06-29 18:12:01 +00:00
|
|
|
# See https://docs.ansible.com/ansible/devel/dev_guide/developing_modules_documenting.html for more information
|
2017-02-10 12:15:55 +00:00
|
|
|
#
|
2012-10-12 19:17:00 +00:00
|
|
|
module: modulename
|
|
|
|
short_description: This is a sentence describing the module
|
|
|
|
description:
|
2017-02-10 12:15:55 +00:00
|
|
|
- Longer description of the module.
|
|
|
|
- You might include instructions.
|
2013-05-11 20:36:37 +00:00
|
|
|
version_added: "X.Y"
|
2017-02-10 12:15:55 +00:00
|
|
|
author: "Your AWESOME name (@awesome-github-id)"
|
2012-10-12 19:17:00 +00:00
|
|
|
options:
|
|
|
|
# One or more of the following
|
|
|
|
option_name:
|
|
|
|
description:
|
2017-02-10 12:15:55 +00:00
|
|
|
- Description of the options goes here.
|
|
|
|
- Must be written in sentences.
|
2012-10-12 19:17:00 +00:00
|
|
|
required: true or false
|
|
|
|
default: a string or the word null
|
2017-02-10 12:15:55 +00:00
|
|
|
choices:
|
|
|
|
- enable
|
|
|
|
- disable
|
|
|
|
aliases:
|
|
|
|
- repo_name
|
|
|
|
version_added: "1.X"
|
|
|
|
notes:
|
|
|
|
- Other things consumers of your module should know.
|
|
|
|
requirements:
|
|
|
|
- list of required things.
|
|
|
|
- like the factor package
|
|
|
|
- zypper >= 1.0
|