From b904ad68a6fdddf9b1707a21c2aaae6a16f156f5 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Fri, 15 May 2020 09:44:31 -0400 Subject: [PATCH] recover line deletes --- awx_collection/plugins/module_utils/tower_api.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/awx_collection/plugins/module_utils/tower_api.py b/awx_collection/plugins/module_utils/tower_api.py index 1ccc464deb..bba81410c1 100644 --- a/awx_collection/plugins/module_utils/tower_api.py +++ b/awx_collection/plugins/module_utils/tower_api.py @@ -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: