mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-04 13:14:24 -07:00
tasks_only callback: add result_format_callback docs fragment (#10422)
Add result_format_callback docs fragment.
This commit is contained in:
parent
32fbacd9ae
commit
710c02ec01
2 changed files with 10 additions and 1 deletions
2
changelogs/fragments/10422-tasks_only-result_format.yml
Normal file
2
changelogs/fragments/10422-tasks_only-result_format.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- "tasks_only callback plugin - add ``result_format`` and ``pretty_results`` options similarly to the default callback (https://github.com/ansible-collections/community.general/pull/10422)."
|
|
@ -17,7 +17,8 @@ description:
|
||||||
- Can be used to generate output for documentation examples.
|
- Can be used to generate output for documentation examples.
|
||||||
For this, the O(number_of_columns) option should be set to an explicit value.
|
For this, the O(number_of_columns) option should be set to an explicit value.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- default_callback
|
- ansible.builtin.default_callback
|
||||||
|
- ansible.builtin.result_format_callback
|
||||||
options:
|
options:
|
||||||
number_of_columns:
|
number_of_columns:
|
||||||
description:
|
description:
|
||||||
|
@ -25,6 +26,12 @@ options:
|
||||||
type: int
|
type: int
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_COLLECTIONS_TASKS_ONLY_NUMBER_OF_COLUMNS
|
- name: ANSIBLE_COLLECTIONS_TASKS_ONLY_NUMBER_OF_COLUMNS
|
||||||
|
result_format:
|
||||||
|
# Part of the ansible.builtin.result_format_callback doc fragment
|
||||||
|
version_added: 11.2.0
|
||||||
|
pretty_results:
|
||||||
|
# Part of the ansible.builtin.result_format_callback doc fragment
|
||||||
|
version_added: 11.2.0
|
||||||
"""
|
"""
|
||||||
|
|
||||||
EXAMPLES = r"""
|
EXAMPLES = r"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue