mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
change set-context to use-context
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
This commit is contained in:
parent
679d531930
commit
c4df5f64c1
@ -1,3 +1,3 @@
|
||||
---
|
||||
- name: Set the Kubernetes Context
|
||||
shell: "kubectl config set-context {{ kubernetes_context }}"
|
||||
shell: "kubectl config use-context {{ kubernetes_context }}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user