c12s-kubespray/roles/kubespray-defaults/tasks
Etienne Champetier 40857b9859 Ensure kubeadm doesn't use proxy (#7275)
* Move proxy_env to kubespray-defaults/defaults

There is no reasons to use set_facts here

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>

* Ensure kubeadm doesn't use proxy

*_proxy variables might be present in the environment (/etc/environment, bash profile, ...)
When this is the case we end up with those proxy configuration in /etc/kubernetes/manifests/kube-*.yaml manifests

We cannot unset env variables, but kubeadm is nice enough to ignore empty vars
93d288e2a4/cmd/kubeadm/app/util/env.go (L27)

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
(cherry picked from commit 1c5391dda7)
2021-02-22 06:01:43 -08:00
..
fallback_ips.yml Gather ansible_default_ipv4 for specific groups (#6318) 2020-06-25 23:55:31 -07:00
fallback_ips_gather.yml Use connection: local when delegate_to: localhost (#6322) 2020-06-25 08:14:38 -07:00
main.yaml Ensure kubeadm doesn't use proxy (#7275) 2021-02-22 06:01:43 -08:00
no_proxy.yml Proxy small fixes (#7102) 2021-01-07 10:50:53 -08:00