mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 12:40:06 -03:30
Fixing resetting of variables and adding unit test for condition
This commit is contained in:
@@ -436,7 +436,7 @@ def main():
|
||||
'become_enabled', 'diff_mode', 'allow_simultaneous', 'custom_virtualenv', 'job_slice_count', 'webhook_service',
|
||||
):
|
||||
field_val = module.params.get(field_name)
|
||||
if field_val:
|
||||
if field_val is not None:
|
||||
new_fields[field_name] = field_val
|
||||
|
||||
# Special treatment of extra_vars parameter
|
||||
|
||||
Reference in New Issue
Block a user