You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add documentation for module option context (#1057)
* Add documentation for module option context
* suggestion
Co-authored-by: Don Naro <dnaro@redhat.com>
* Expand docs to indicate context is not used by core
---------
Co-authored-by: Don Naro <dnaro@redhat.com>
Copy file name to clipboardExpand all lines: docs/docsite/rst/dev_guide/developing_program_flow_modules.rst
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -766,6 +766,23 @@ This section will discuss the behavioral attributes for arguments:
766
766
767
767
If ``options`` is specified, ``required_by`` refers to the sub-options described in ``options`` and behaves as in :ref:`argument_spec_dependencies`.
768
768
769
+
:context:
770
+
771
+
.. versionadded:: 2.17
772
+
773
+
You can set the value of the ``context`` key to a dict of custom content. This allows you to provide additional context in the argument spec. The content provided is not validated or utilized by the core engine.
0 commit comments