mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 18:37:36 -02:30
recover line deletes
This commit is contained in:
@@ -338,9 +338,6 @@ class TowerModule(AnsibleModule):
|
|||||||
if headers.get('Content-Type', '') == 'application/json':
|
if headers.get('Content-Type', '') == 'application/json':
|
||||||
data = dumps(kwargs.get('data', {}))
|
data = dumps(kwargs.get('data', {}))
|
||||||
|
|
||||||
with open('/tmp/john', 'w') as f:
|
|
||||||
f.write("{0}".format(self.url.geturl()))
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
response = self.session.open(method, self.url.geturl(), headers=headers, validate_certs=self.verify_ssl, follow_redirects=True, data=data)
|
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:
|
except(SSLValidationError) as ssl_err:
|
||||||
|
|||||||
Reference in New Issue
Block a user