-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hello, in my job i have proxy to connect internet, but dont have ssl intercept...
in example_claim.yml i add environment: variable
ansible_proxy = http://lalala.com:80/'
ansible_noproxy = 10.0.0.0/8
- name: Claim targets
script: /usr/bin/env python claim_target.py -t ' [{{ stash_json }}]'
register: result
environment:
http_proxy: "{{ ansible_proxy }}"
https_proxy: "{{ ansible_proxy }}"
no_proxy: "{{ ansible_noproxy }}"
changed_when: '"true" in result.stdout'
it working fine... but i recive this error:
Exception: HTTPSConnectionPool(host='intersight.com', port=443): Max retries exceeded with url: /api/v1/resource/Groups?%24filter=Name+in+%28%27__omit_place_holder__b1208bd441ac629031fd9c714763730d807dd83e%27%29&%24select=Moid (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
and
/var/lib/awx/venv/ansible/lib64/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/var/lib/awx/venv/ansible/lib64/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/var/lib/awx/venv/ansible/lib64/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/var/lib/awx/venv/ansible/lib64/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/var/lib/awx/venv/ansible/lib64/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/var/lib/awx/venv/ansible/lib64/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/var/lib/awx/venv/ansible/lib64/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,