mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Small fixes. (#4605)
This commit is contained in:
parent
f055f47161
commit
5cb7c2e45e
4 changed files with 7 additions and 6 deletions
|
@ -56,7 +56,7 @@ EXAMPLES = '''
|
|||
|
||||
RETURN = '''
|
||||
_value:
|
||||
description: Whether the module or action plugin denoted by the input exists.
|
||||
description: The dictionary having the provided key-value pairs.
|
||||
type: boolean
|
||||
'''
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ DOCUMENTATION = '''
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Create a list of dictionaries with map and the community.general.dict filter
|
||||
- name: Parse a CSV file's contents
|
||||
ansible.builtin.debug:
|
||||
msg: >-
|
||||
{{ csv_data | community.genera.from_csv(dialect='unix') }}
|
||||
|
|
|
@ -116,7 +116,7 @@ EXAMPLES = '''
|
|||
|
||||
RETURN = '''
|
||||
_value:
|
||||
description: Whether the module or action plugin denoted by the input exists.
|
||||
description: The result of the query.
|
||||
type: any
|
||||
'''
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ DOCUMENTATION = '''
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Create a list of dictionaries with map and the community.general.dict filter
|
||||
- name: Merge two lists
|
||||
ansible.builtin.debug:
|
||||
msg: >-
|
||||
{{ list1 | community.general.lists_mergeby(
|
||||
|
@ -92,8 +92,9 @@ EXAMPLES = '''
|
|||
|
||||
RETURN = '''
|
||||
_value:
|
||||
description: Whether the module or action plugin denoted by the input exists.
|
||||
type: boolean
|
||||
description: The merged list.
|
||||
type: list
|
||||
elements: dictionary
|
||||
'''
|
||||
|
||||
from ansible.errors import AnsibleFilterError
|
||||
|
|
Loading…
Reference in a new issue