Allow tower_inventory_sources params to be False (#43749)

Ensure that params set to False are respected, rather than ignored.
pull/43747/merge
Will Thames 6 years ago committed by ansibot
parent 7b7709ae75
commit c8e8a84210

@ -309,7 +309,7 @@ def main():
'instance_filters', 'group_by', 'overwrite',
'overwrite_vars', 'update_on_launch',
'update_cache_timeout'):
if module.params.get(key):
if module.params.get(key) is not None:
params[key] = module.params.get(key)
if state == 'present':

Loading…
Cancel
Save