mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
Updating call to create_or_update_if_needed
This commit is contained in:
committed by
beeankha
parent
9271127c53
commit
89e92bd337
@@ -113,7 +113,7 @@ def main():
|
||||
module.delete_if_needed(team)
|
||||
elif state == 'present':
|
||||
# If the state was present we can let the module build or update the existing team, this will return on its own
|
||||
module.create_or_update_if_needed(team, team_fields, item_type='team'})
|
||||
module.create_or_update_if_needed(team, team_fields, endpoint='teams', item_type='team')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user