mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Allow tower_inventory_sources params to be False (#43749)
Ensure that params set to False are respected, rather than ignored.
This commit is contained in:
@@ -309,7 +309,7 @@ def main():
|
|||||||
'instance_filters', 'group_by', 'overwrite',
|
'instance_filters', 'group_by', 'overwrite',
|
||||||
'overwrite_vars', 'update_on_launch',
|
'overwrite_vars', 'update_on_launch',
|
||||||
'update_cache_timeout'):
|
'update_cache_timeout'):
|
||||||
if module.params.get(key):
|
if module.params.get(key) is not None:
|
||||||
params[key] = module.params.get(key)
|
params[key] = module.params.get(key)
|
||||||
|
|
||||||
if state == 'present':
|
if state == 'present':
|
||||||
|
|||||||
Reference in New Issue
Block a user