Debian Codegraph @

test/integration/targets/ansible-doc/randommodule.output

raw
1 {
2 "testns.testcol.randommodule": {
3 "doc": {
4 "author": [
5 "Ansible Core Team"
6 ],
7 "collection": "testns.testcol",
8 "deprecated": {
9 "alternative": "Use some other module",
10 "removed_from_collection": "testns.testcol",
11 "removed_in": "3.0.0",
12 "why": "Test deprecation"
13 },
14 "description": [
15 "A random module.",
16 "See O(foo.bar.baz#role:main:foo=bar) for how this is used in the P(foo.bar.baz#role)'s C(main) entrypoint.",
17 "See L(the docsite,https://docs.ansible.com/ansible-core/devel/) for more information on ansible-core.",
18 "This module is not related to the M(ansible.builtin.copy) module. HORIZONTALLINE You might also be interested in R(ansible_python_interpreter, ansible_python_interpreter).",
19 "Sometimes you have M(broken markup) that will result in error messages."
20 ],
21 "filename": "./collections/ansible_collections/testns/testcol/plugins/modules/randommodule.py",
22 "has_action": false,
23 "module": "randommodule",
24 "notes": [
25 "This is a note.",
26 "This is a multi-paragraph note.\n\nThis is its second paragraph.\nThis is just another line in the second paragraph.\nEventually this will break into a new line,\ndepending with which line width this is rendered."
27 ],
28 "options": {
29 "sub": {
30 "description": "Suboptions. Contains O(sub.subtest), which can be set to V(123). You can use E(TEST_ENV) to set this.",
31 "env": [
32 {
33 "deprecated": {
34 "alternative": "none",
35 "removed_in": "2.0.0",
36 "version": "2.0.0",
37 "why": "Test deprecation"
38 },
39 "name": "TEST_ENV",
40 "version_added": "1.0.0"
41 }
42 ],
43 "options": {
44 "subtest2": {
45 "description": "Another suboption. Useful when P(ansible.builtin.shuffle#filter) is used with value V([a,b,\\),d\\\\]).",
46 "type": "float",
47 "version_added": "1.1.0"
48 }
49 },
50 "suboptions": {
51 "subtest": {
52 "description": "A suboption. Not compatible to O(ansible.builtin.copy#module:path=c:\\\\foo\\(1\\).txt).",
53 "type": "int",
54 "version_added": "1.1.0",
55 "version_added_collection": "testns.testcol"
56 }
57 },
58 "type": "dict"
59 },
60 "test": {
61 "description": "Some text. Consider not using O(ignore:foo=bar).",
62 "type": "str",
63 "version_added": "1.2.0",
64 "version_added_collection": "testns.testcol"
65 },
66 "testcol2option": {
67 "description": [
68 "An option taken from testcol2"
69 ],
70 "type": "str",
71 "version_added": "1.0.0",
72 "version_added_collection": "testns.testcol2"
73 },
74 "testcol2option2": {
75 "description": [
76 "Another option taken from testcol2"
77 ],
78 "type": "str"
79 }
80 },
81 "plugin_name": "testns.testcol.randommodule",
82 "seealso": [
83 {
84 "module": "ansible.builtin.ping"
85 },
86 {
87 "description": "Use this to fetch an URI",
88 "module": "ansible.builtin.uri"
89 },
90 {
91 "module": "testns.testcol.test"
92 },
93 {
94 "description": "A fake module",
95 "module": "testns.testcol.fakemodule"
96 },
97 {
98 "description": "See also the Ansible docsite.",
99 "link": "https://docs.ansible.com",
100 "name": "Ansible docsite"
101 },
102 {
103 "description": "Some foo bar.",
104 "ref": "foo_bar"
105 }
106 ],
107 "short_description": "A random module",
108 "version_added": "1.0.0",
109 "version_added_collection": "testns.testcol"
110 },
111 "examples": "\n",
112 "metadata": null,
113 "return": {
114 "a_first": {
115 "description": "A first result. Use RV(a_first=foo\\(bar\\\\baz\\)bam).",
116 "returned": "success",
117 "type": "str"
118 },
119 "m_middle": {
120 "contains": {
121 "suboption": {
122 "choices": [
123 "ARF",
124 "BARN",
125 "c_without_capital_first_letter"
126 ],
127 "description": "A suboption.",
128 "type": "str",
129 "version_added": "1.4.0",
130 "version_added_collection": "testns.testcol"
131 }
132 },
133 "description": [
134 "This should be in the middle.",
135 "Has some more data.",
136 "Check out RV(m_middle.suboption) and compare it to RV(a_first=foo) and RV(community.general.foo#lookup:value)."
137 ],
138 "returned": "success and 1st of month",
139 "type": "dict"
140 },
141 "z_last": {
142 "description": "A last result.",
143 "returned": "success",
144 "type": "str",
145 "version_added": "1.3.0",
146 "version_added_collection": "testns.testcol"
147 }
148 }
149 }
150 }