mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 06:58:06 -03:30
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 }}"
|