mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Attempt to make validate_certs work in Python2
This commit is contained in:
parent
c32452d6b6
commit
3423db6ed0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user