mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -03:30
Merge pull request #1949 from willthames/k8s_use_context
Use use-context to set Kubernetes context
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
- name: Set the Kubernetes Context
|
- name: Set the Kubernetes Context
|
||||||
shell: "kubectl config set-context {{ kubernetes_context }}"
|
shell: "kubectl config use-context {{ kubernetes_context }}"
|
||||||
|
|
||||||
- name: Get Namespace Detail
|
- name: Get Namespace Detail
|
||||||
shell: "kubectl get namespace {{ kubernetes_namespace }}"
|
shell: "kubectl get namespace {{ kubernetes_namespace }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user