Hi All,
Ansible k8s module ( https://docs.ansible.com/ansible/latest/modules/k8s_module.html#k8s-module ) have many environments like :
api_key ---- K8S_AUTH_API_KEY environment variable.
cert_file — K8S_AUTH_CERT_FILE environment variable.
context — K8S_AUTH_CONTEXT environment variable.
host — K8S_AUTH_HOST environment variable.
key_file — K8S_AUTH_HOST environment variable.
kubeconfig — K8S_AUTH_KUBECONFIG environment variable.
password — K8S_AUTH_PASSWORD environment variable.
ssl_ca_cert — K8S_AUTH_SSL_CA_CERT environment variable.
username ---- K8S_AUTH_USERNAME environment variable.
verify_ssl ---- K8S_AUTH_VERIFY_SSL environment variable.
Do any body use these environmental variables in the playbook ? Do have any example or sample playbook with one or many environment variable. I’m looking very specially for kubeconfig — K8S_AUTH_KUBECONFIG environment variable to use it in ansible playbooks ( and also in Ansible AWX )
Please help.