2012-10-12 21:17:00 +02: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 20:12:01 +02:00
|
|
|
# See https://docs.ansible.com/ansible/devel/dev_guide/developing_modules_documenting.html for more information
|
2017-02-10 13:15:55 +01:00
|
|
|
#
|
2012-10-12 21:17:00 +02:00
|
|
|
module: modulename
|
|
|
|
short_description: This is a sentence describing the module
|
|
|
|
description:
|
2017-02-10 13:15:55 +01:00
|
|
|
- Longer description of the module.
|
|
|
|
- You might include instructions.
|
2013-05-11 22:36:37 +02:00
|
|
|
version_added: "X.Y"
|
2017-02-10 13:15:55 +01:00
|
|
|
author: "Your AWESOME name (@awesome-github-id)"
|
2012-10-12 21:17:00 +02:00
|
|
|
options:
|
|
|
|
# One or more of the following
|
|
|
|
option_name:
|
|
|
|
description:
|
2017-02-10 13:15:55 +01:00
|
|
|
- Description of the options goes here.
|
|
|
|
- Must be written in sentences.
|
2012-10-12 21:17:00 +02:00
|
|
|
required: true or false
|
|
|
|
default: a string or the word null
|
2017-02-10 13:15:55 +01: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
|