Hello
How can I use the k8s module over a proxy connection?
Using the `oc` command line tool seems to pick up my local env vars for
`https_proxy` and just works.
---
- name: "Quota Applier"
hosts: localhost
connection: local
become: false
gather_facts: false
environment:
http_proxy: http://myproxy.com:8080
https_proxy: http://myproxy.com:8080
no_proxy: "localhost, 127.0.0.1"
tasks:
- name: Get a list of all project objects
k8s_facts:
kubeconfig: /home/me/.kube/config
context: "default/console:8443/myuser"
kind: projects
register: project_list
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/afd7eee8-54fd-4b3d-a3ac-a73af6dc3be7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.