1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Choices should be a list, not a string

This commit is contained in:
Matt Martz 2016-03-01 16:18:56 -06:00 committed by John Barker
parent a103f81513
commit 3d2c5f3016

View file

@ -4,7 +4,7 @@ option_schema = Schema(
{ {
Required('description'): Any(basestring, [basestring]), Required('description'): Any(basestring, [basestring]),
'required': bool, 'required': bool,
'choices': Any(list, basestring), 'choices': list,
'aliases': list, 'aliases': list,
'version_added': Any(basestring, float) 'version_added': Any(basestring, float)
}, },