mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-12 00:54:22 -07:00
[PR #10303/329c2222 backport][stable-11] fix style in plugins (#10324)
fix style in plugins (#10303)
(cherry picked from commit 329c2222fc
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
1d6d8bdf7f
commit
a7ec516be3
35 changed files with 98 additions and 97 deletions
|
@ -9,9 +9,9 @@ __metaclass__ = type
|
|||
DOCUMENTATION = r"""
|
||||
name: flattened
|
||||
author: Serge van Ginderachter (!UNKNOWN) <serge@vanginderachter.be>
|
||||
short_description: return single list completely flattened
|
||||
short_description: Return single list completely flattened
|
||||
description:
|
||||
- Given one or more lists, this lookup will flatten any list elements found recursively until only 1 list is left.
|
||||
- Given one or more lists, this lookup flattens any list elements found recursively until only 1 list is left.
|
||||
options:
|
||||
_terms:
|
||||
description: Lists to flatten.
|
||||
|
@ -19,7 +19,7 @@ options:
|
|||
elements: raw
|
||||
required: true
|
||||
notes:
|
||||
- Unlike the P(ansible.builtin.items#lookup) lookup which only flattens 1 level, this plugin will continue to flatten until
|
||||
- Unlike the P(ansible.builtin.items#lookup) lookup which only flattens 1 level, this plugin continues to flatten until
|
||||
it cannot find lists anymore.
|
||||
- Aka highlander plugin, there can only be one (list).
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue