examples/DOCUMENTATION.yml
4b04d7a9
 ---
 # 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.
959637ff
 #
b9a48069
 # See http://docs.ansible.com/ansible/dev_guide/developing_modules_documenting.html for more information
959637ff
 #
4b04d7a9
 module: modulename
 short_description: This is a sentence describing the module
 description:
959637ff
     - Longer description of the module.
     - You might include instructions.
d51ec37a
 version_added: "X.Y"
959637ff
 author: "Your AWESOME name (@awesome-github-id)"
4b04d7a9
 options:
 # One or more of the following
     option_name:
         description:
959637ff
             - Description of the options goes here.
             - Must be written in sentences.
4b04d7a9
         required: true or false
         default: a string or the word null
959637ff
         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