mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Use use-context to set Kubernetes context
`kubectl config use-context` is the command to set the current context, not `set-context` Signed-off-by: Will Thames <will@thames.id.au>
This commit is contained in:
parent
bd744bced7
commit
b899096f99
@ -1,5 +1,5 @@
|
||||
- name: Set the Kubernetes Context
|
||||
shell: "kubectl config set-context {{ kubernetes_context }}"
|
||||
shell: "kubectl config use-context {{ kubernetes_context }}"
|
||||
|
||||
- name: Get Namespace Detail
|
||||
shell: "kubectl get namespace {{ kubernetes_namespace }}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user