Modified modules to use new tower_api format

Fixed variable name typo
This commit is contained in:
John Westcott IV
2020-01-29 11:52:09 -05:00
committed by beeankha
parent 6d90cac3f9
commit c23d605a7a
6 changed files with 38 additions and 70 deletions

View File

@@ -475,7 +475,7 @@ class TowerModule(AnsibleModule):
# If the two items don't match and we are not comparing '' to None
if existing_field != new_field and not (existing_field in (None, '') and new_field == ''):
# something dosent match so lets do it
neds_update = True
needs_update = True
break
if needs_update: