diff options
author | Max Gautier <mg@max.gautier.name> | 2025-01-15 20:26:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-15 20:26:29 +0100 |
commit | 35a712588ed4bf8b549a729d9acb41f7fa621d2b (patch) | |
tree | 74ae6bc3e0bf1d3b8bcf2626757b915c7ce10beb | |
parent | host_group_vars - remove unnecessary os.path.join cache (#84549) (diff) | |
download | ansible-35a712588ed4bf8b549a729d9acb41f7fa621d2b.tar.xz ansible-35a712588ed4bf8b549a729d9acb41f7fa621d2b.zip |
filters/flatten: fix input documentation (#84477)
Flatten input is a list, not a dictionary.
-rw-r--r-- | lib/ansible/plugins/filter/flatten.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ansible/plugins/filter/flatten.yml b/lib/ansible/plugins/filter/flatten.yml index ae2d5eab9b..540ca4a075 100644 --- a/lib/ansible/plugins/filter/flatten.yml +++ b/lib/ansible/plugins/filter/flatten.yml @@ -7,8 +7,9 @@ DOCUMENTATION: positional: _input, levels, skip_nulls options: _input: - description: First dictionary to combine. - type: dict + description: List to flatten. + type: list + elements: any required: true levels: description: Number of recursive list depths to flatten. |