Search code examples
ansibleservicenow

Using the servicenow.itsm ansible collection for a proxied ServiceNow instance


Had anyone found a way to use servicenow.itsm ansible collection to pull information from or manage a SaaS ServiceNow instance located behind an http proxy ?

PS: adding the following to my playbook did not work :

environment: 
  http_proxy: "{{ proxy }}"

Thanks !


Solution

  • even though the proxy is using http and not https you have to add :

    https_proxy: http://<proxy_IP>:<proxy_port>
    

    thanks to mdaniel