We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab51d36 + ddf222f commit 610f24bCopy full SHA for 610f24b
roles/resource_module/filter_plugins/to_argspec.py
@@ -24,7 +24,7 @@ def dive(obj, required=False):
24
result['options'][propkey] = dive(propval, required)
25
elif obj['type'] == 'array':
26
result['options'] = {}
27
- if obj['elements']:
+ if obj.get('elements'):
28
result['elements'] = obj['elements']
29
if not 'items' in obj:
30
raise AnsibleFilterError('missing items key in array')
0 commit comments