Fixes #4500 python bools return uppercase True and False, so allow those for BOOLEANS in module common
This commit is contained in:
parent
e34cde6bef
commit
4833c2fdf0
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ MODULE_ARGS = <<INCLUDE_ANSIBLE_MODULE_ARGS>>
|
|||
MODULE_LANG = <<INCLUDE_ANSIBLE_MODULE_LANG>>
|
||||
MODULE_COMPLEX_ARGS = <<INCLUDE_ANSIBLE_MODULE_COMPLEX_ARGS>>
|
||||
|
||||
BOOLEANS_TRUE = ['yes', 'on', '1', 'true', 1]
|
||||
BOOLEANS_FALSE = ['no', 'off', '0', 'false', 0]
|
||||
BOOLEANS_TRUE = ['yes', 'on', '1', 'true', 'True', 1]
|
||||
BOOLEANS_FALSE = ['no', 'off', '0', 'false', 'False', 0]
|
||||
BOOLEANS = BOOLEANS_TRUE + BOOLEANS_FALSE
|
||||
|
||||
# ansible modules can be written in any language. To simplify
|
||||
|
|
Loading…
Reference in a new issue