mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
953 B
Python
57 lines
953 B
Python
#!/usr/bin/python
|
|
from __future__ import absolute_import, division, print_function
|
|
__metaclass__ = type
|
|
|
|
|
|
DOCUMENTATION = '''
|
|
---
|
|
module: test_docs_returns
|
|
short_description: Test module
|
|
description:
|
|
- Test module
|
|
author:
|
|
- Ansible Core Team
|
|
'''
|
|
|
|
EXAMPLES = '''
|
|
'''
|
|
|
|
RETURN = '''
|
|
z_last:
|
|
description: A last result.
|
|
type: str
|
|
returned: success
|
|
|
|
m_middle:
|
|
description:
|
|
- This should be in the middle.
|
|
- Has some more data
|
|
type: dict
|
|
returned: success and 1st of month
|
|
contains:
|
|
suboption:
|
|
description: A suboption.
|
|
type: str
|
|
choices: [ARF, BARN, c_without_capital_first_letter]
|
|
|
|
a_first:
|
|
description: A first result.
|
|
type: str
|
|
returned: success
|
|
'''
|
|
|
|
|
|
from ansible.module_utils.basic import AnsibleModule
|
|
|
|
|
|
def main():
|
|
module = AnsibleModule(
|
|
argument_spec=dict(),
|
|
)
|
|
|
|
module.exit_json()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|