summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ansible/plugins/filter/flatten.yml5
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.