| 1 |
> MODULE testns.testcol.randommodule (./collections/ansible_collections/testns/testcol/plugins/modules/randommodule.py) |
| 2 |
|
| 3 |
A random module. |
| 4 |
See `foo=bar' (of role foo.bar.baz, main entrypoint) for how this is |
| 5 |
used in the [[foo.bar.baz]]'s `main' entrypoint. |
| 6 |
See the docsite <https://docs.ansible.com/ansible-core/devel/> for |
| 7 |
more information on ansible-core. |
| 8 |
This module is not related to the [ansible.builtin.copy] module. |
| 9 |
------------- You might also be interested in |
| 10 |
ansible_python_interpreter. |
| 11 |
Sometimes you have [broken markup] that will result in error |
| 12 |
messages. |
| 13 |
DEPRECATED: |
| 14 |
Reason: Test deprecation |
| 15 |
Will be removed in: testns.testcol 3.0.0 |
| 16 |
Alternatives: Use some other module |
| 17 |
|
| 18 |
OPTIONS (= indicates it is required): |
| 19 |
|
| 20 |
- sub Suboptions. Contains `sub.subtest', which can be set to |
| 21 |
`123'. You can use `TEST_ENV' to set this. |
| 22 |
set_via: |
| 23 |
env: |
| 24 |
- deprecated: |
| 25 |
alternative: none |
| 26 |
removed_in: 2.0.0 |
| 27 |
version: 2.0.0 |
| 28 |
why: Test deprecation |
| 29 |
name: TEST_ENV |
| 30 |
default: null |
| 31 |
type: dict |
| 32 |
options: |
| 33 |
|
| 34 |
- subtest2 Another suboption. Useful when |
| 35 |
[[ansible.builtin.shuffle]] is used with value |
| 36 |
`[a,b,),d\]'. |
| 37 |
default: null |
| 38 |
type: float |
| 39 |
added in: version 1.1.0 |
| 40 |
suboptions: |
| 41 |
|
| 42 |
- subtest A suboption. Not compatible to |
| 43 |
`path=c:\foo(1).txt' (of module |
| 44 |
ansible.builtin.copy). |
| 45 |
default: null |
| 46 |
type: int |
| 47 |
added in: version 1.1.0 of testns.testcol |
| 48 |
|
| 49 |
- test Some text. Consider not using `foo=bar'. |
| 50 |
default: null |
| 51 |
type: str |
| 52 |
|
| 53 |
- testcol2option An option taken from testcol2 |
| 54 |
default: null |
| 55 |
type: str |
| 56 |
|
| 57 |
- testcol2option2 Another option taken from testcol2 |
| 58 |
default: null |
| 59 |
type: str |
| 60 |
|
| 61 |
NOTES: |
| 62 |
* This is a note. |
| 63 |
* This is a multi-paragraph note. |
| 64 |
This is its second paragraph. This is just another line |
| 65 |
in the second paragraph. Eventually this will break into |
| 66 |
a new line, depending with which line width this is |
| 67 |
rendered. |
| 68 |
|
| 69 |
SEE ALSO: |
| 70 |
* Module ansible.builtin.ping |
| 71 |
The official documentation on the |
| 72 |
ansible.builtin.ping module. |
| 73 |
https://docs.ansible.com/ansible-core/devel/collections/ansible/builtin/ping_module.html |
| 74 |
* Module ansible.builtin.uri |
| 75 |
Use this to fetch an URI |
| 76 |
https://docs.ansible.com/ansible-core/devel/collections/ansible/builtin/uri_module.html |
| 77 |
* Module testns.testcol.test |
| 78 |
* Module testns.testcol.fakemodule |
| 79 |
A fake module |
| 80 |
* Ansible docsite |
| 81 |
See also the Ansible docsite. |
| 82 |
https://docs.ansible.com |
| 83 |
* Ansible documentation [foo_bar] |
| 84 |
Some foo bar. |
| 85 |
https://docs.ansible.com/ansible-core/devel/#stq=foo_bar&stp=1 |
| 86 |
|
| 87 |
AUTHOR: Ansible Core Team |
| 88 |
|
| 89 |
EXAMPLES: |
| 90 |
|
| 91 |
|
| 92 |
RETURN VALUES: |
| 93 |
|
| 94 |
- a_first A first result. Use `a_first=foo(bar\baz)bam'. |
| 95 |
returned: success |
| 96 |
type: str |
| 97 |
|
| 98 |
- m_middle This should be in the middle. |
| 99 |
Has some more data. |
| 100 |
Check out `m_middle.suboption' and compare it to |
| 101 |
`a_first=foo' and `value' (of lookup plugin |
| 102 |
community.general.foo). |
| 103 |
returned: success and 1st of month |
| 104 |
type: dict |
| 105 |
contains: |
| 106 |
|
| 107 |
- suboption A suboption. |
| 108 |
choices: [ARF, BARN, c_without_capital_first_letter] |
| 109 |
type: str |
| 110 |
added in: version 1.4.0 of testns.testcol |
| 111 |
|
| 112 |
- z_last A last result. |
| 113 |
returned: success |
| 114 |
type: str |
| 115 |
|