summaryrefslogtreecommitdiffstats
path: root/examples/collection/plugins/modules/alpha.py
blob: c806cadbca934bb4f2ce386c411d254bb300b06d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
"""An ansible test module."""


DOCUMENTATION = """
module: mod_1
author:
- test
short_description: This is a test module
description:
- This is a test module
version_added: 1.0.0
options:
  foo:
    description:
    - Dummy option I(foo)
    type: str
  bar:
    description:
    - Dummy option I(bar)
    default: candidate
    type: str
    choices:
    - candidate
    - running
    aliases:
    - bam
notes:
- This is a dummy module
"""

EXAMPLES = """
- name: test task-1
  company_name.coll_1.mod_1:
    foo: some value
    bar: candidate
"""

RETURN = """
baz:
    description: test return 1
    returned: success
    type: list
    sample: ['a','b']
"""