1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 05:25:29 +03:00

Attempt to make validate_certs work in Python2

This commit is contained in:
beeankha 2020-02-07 12:38:28 -05:00
parent c32452d6b6
commit 3423db6ed0

View File

@ -102,7 +102,7 @@ class TowerModule(AnsibleModule):
except Exception as e:
self.fail_json(msg="Unable to resolve tower_host ({1}): {0}".format(hostname, e))
self.session = Request(cookies=self.cookie_jar)
self.session = Request(cookies=CookieJar(), validate_certs=self.verify_ssl)
def load_config_files(self):
# Load configs like TowerCLI would have from least import to most