recover line deletes

This commit is contained in:
AlanCoding 2020-05-15 09:44:31 -04:00
parent b7ab6ba9bb
commit b904ad68a6
No known key found for this signature in database
GPG Key ID: FD2C3C012A72926B

View File

@ -338,9 +338,6 @@ class TowerModule(AnsibleModule):
if headers.get('Content-Type', '') == 'application/json':
data = dumps(kwargs.get('data', {}))
with open('/tmp/john', 'w') as f:
f.write("{0}".format(self.url.geturl()))
try:
response = self.session.open(method, self.url.geturl(), headers=headers, validate_certs=self.verify_ssl, follow_redirects=True, data=data)
except(SSLValidationError) as ssl_err: