mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 03:12:46 +00:00
Override params from environment variables, if set.
Fix a typo while I'm in the area. Handle having None set in module.params more intelligently
This commit is contained in:
@@ -1387,6 +1387,8 @@ class AnsibleModule(object):
|
||||
wanted = 'str'
|
||||
|
||||
value = self.params[k]
|
||||
if value is None:
|
||||
continue
|
||||
|
||||
try:
|
||||
type_checker = self._CHECK_ARGUMENT_TYPES_DISPATCHER[wanted]
|
||||
|
||||
Reference in New Issue
Block a user