mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
docs: add seealso and notes for yaml callback plugin (#8396)
* docs: add seealso and notes for yaml callback plugin * docs: correct links to parameters Co-authored-by: Felix Fontein <felix@fontein.de> * docs: shorten the long lines --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
95e509753e
commit
4792e21416
3 changed files with 12 additions and 0 deletions
|
@ -19,6 +19,16 @@ DOCUMENTATION = '''
|
||||||
- default_callback
|
- default_callback
|
||||||
requirements:
|
requirements:
|
||||||
- set as stdout in configuration
|
- set as stdout in configuration
|
||||||
|
seealso:
|
||||||
|
- plugin: ansible.builtin.default
|
||||||
|
plugin_type: callback
|
||||||
|
description: >
|
||||||
|
There is a parameter O(ansible.builtin.default#callback:result_format) in P(ansible.builtin.default#callback)
|
||||||
|
that allows you to change the output format to YAML.
|
||||||
|
notes:
|
||||||
|
- >
|
||||||
|
With ansible-core 2.13 or newer, you can instead specify V(yaml) for the parameter O(ansible.builtin.default#callback:result_format)
|
||||||
|
in P(ansible.builtin.default#callback).
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
.azure-pipelines/scripts/publish-codecov.py replace-urlopen
|
.azure-pipelines/scripts/publish-codecov.py replace-urlopen
|
||||||
plugins/callback/timestamp.py validate-modules:invalid-documentation
|
plugins/callback/timestamp.py validate-modules:invalid-documentation
|
||||||
|
plugins/callback/yaml.py validate-modules:invalid-documentation
|
||||||
plugins/lookup/etcd.py validate-modules:invalid-documentation
|
plugins/lookup/etcd.py validate-modules:invalid-documentation
|
||||||
plugins/lookup/etcd3.py validate-modules:invalid-documentation
|
plugins/lookup/etcd3.py validate-modules:invalid-documentation
|
||||||
plugins/modules/consul_session.py validate-modules:parameter-state-invalid-choice
|
plugins/modules/consul_session.py validate-modules:parameter-state-invalid-choice
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
.azure-pipelines/scripts/publish-codecov.py replace-urlopen
|
.azure-pipelines/scripts/publish-codecov.py replace-urlopen
|
||||||
plugins/callback/timestamp.py validate-modules:invalid-documentation
|
plugins/callback/timestamp.py validate-modules:invalid-documentation
|
||||||
|
plugins/callback/yaml.py validate-modules:invalid-documentation
|
||||||
plugins/lookup/etcd.py validate-modules:invalid-documentation
|
plugins/lookup/etcd.py validate-modules:invalid-documentation
|
||||||
plugins/lookup/etcd3.py validate-modules:invalid-documentation
|
plugins/lookup/etcd3.py validate-modules:invalid-documentation
|
||||||
plugins/modules/consul_session.py validate-modules:parameter-state-invalid-choice
|
plugins/modules/consul_session.py validate-modules:parameter-state-invalid-choice
|
||||||
|
|
Loading…
Reference in a new issue