mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
c4df5f64c1
set-context allows setting configuration within a provided context, to change contexts we need "use-context" $ kubectl config ... set-context Sets a context entry in kubeconfig use-context Sets the current-context in a kubeconfig file
4 lines
102 B
YAML
4 lines
102 B
YAML
---
|
|
- name: Set the Kubernetes Context
|
|
shell: "kubectl config use-context {{ kubernetes_context }}"
|