File tree Expand file tree Collapse file tree 4 files changed +49
-0
lines changed Expand file tree Collapse file tree 4 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ trivial :
2
+ - docs/templates/module.rst.j2 - Adds support for including `attributes` keyword inside module's documentation.
3
+ (https://github.com/ansible-collections/ibm_zos_core/pull/1963).
Original file line number Diff line number Diff line change @@ -243,6 +243,23 @@ template_parameters
243
243
244
244
245
245
246
+ Attributes
247
+ ----------
248
+ action
249
+ | **support**: full
250
+ | **description**: Indicates this has a corresponding action plugin so some parts of the options can be executed on the controller.
251
+ async
252
+ | **support**: full
253
+ | **description**: Supports being used with the ``async`` keyword.
254
+ check_mode
255
+ | **support**: none
256
+ | **description**: Can run in check_mode and return changed status prediction without modifying target, if not supported the action will be skipped.
257
+ diff_mode
258
+ | **support**: none
259
+ | **description**: Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.
260
+
261
+
262
+
246
263
Examples
247
264
--------
248
265
Original file line number Diff line number Diff line change @@ -86,6 +86,21 @@ Parameters
86
86
{{ option_generation(options, 0) }}
87
87
{% endif %}
88
88
89
+ {# ------------------------------------------------------------- #}
90
+ {# Generate the attributes doc #}
91
+ {# ------------------------------------------------------------- #}
92
+
93
+ {% if attributes -%}
94
+ Attributes
95
+ ----------
96
+ {% for name , spec in attributes .items () %}
97
+ {{ name }}
98
+ | **support**: {{ spec.support}}
99
+ | **description**: {{ spec.description }}
100
+ {% endfor %}
101
+
102
+ {% endif %}
103
+
89
104
{# ------------------------------------------------------------- #}
90
105
{# Generate the sample doc #}
91
106
{# ------------------------------------------------------------- #}
Original file line number Diff line number Diff line change 96
96
extends_documentation_fragment:
97
97
- ibm.ibm_zos_core.template
98
98
99
+ attributes:
100
+ action:
101
+ support: full
102
+ description: Indicates this has a corresponding action plugin so some parts of the options can be executed on the controller.
103
+ async:
104
+ support: full
105
+ description: Supports being used with the ``async`` keyword.
106
+ check_mode:
107
+ support: none
108
+ description: Can run in check_mode and return changed status prediction without modifying target, if not supported the action will be skipped.
109
+ diff_mode:
110
+ support: none
111
+ description: Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.
112
+
99
113
notes:
100
114
- When executing local scripts, temporary storage will be used
101
115
on the remote z/OS system. The size of the temporary storage will
You can’t perform that action at this time.
0 commit comments