Skip to content

Commit

Permalink
Undo empty credentials check
Browse files Browse the repository at this point in the history
  • Loading branch information
droberts2013 committed Jun 30, 2023
1 parent b36d4b5 commit 76a18de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ansibletower/launchAndWait.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ def create_payload(extra_vars, jobTags, credentials):
body['extra_vars'] = extra_vars
if jobTags:
body['job_tags'] = ",".join(jobTags)
if credentials:
body['credentials'] = credentials
body['credentials'] = credentials
body_as_string = json.dumps(body)
print "Body returned from create_payload() is %s" % body_as_string
return body_as_string
Expand Down

0 comments on commit 76a18de

Please sign in to comment.