put type checking before looking against choices array to always get type comparrison correctly
This commit is contained in:
parent
f42b6237d9
commit
2c9d1257ba
1 changed files with 1 additions and 1 deletions
|
@ -392,8 +392,8 @@ class AnsibleModule(object):
|
|||
}
|
||||
if not bypass_checks:
|
||||
self._check_required_arguments()
|
||||
self._check_argument_values()
|
||||
self._check_argument_types()
|
||||
self._check_argument_values()
|
||||
self._check_required_together(required_together)
|
||||
self._check_required_one_of(required_one_of)
|
||||
self._check_required_if(required_if)
|
||||
|
|
Loading…
Reference in a new issue