mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 05:55:59 -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:
@@ -1,3 +1,3 @@
|
||||
---
|
||||
- name: Set the Kubernetes Context
|
||||
shell: "kubectl config set-context {{ kubernetes_context }}"
|
||||
shell: "kubectl config use-context {{ kubernetes_context }}"
|
||||
|
||||
Reference in New Issue
Block a user