Обновить ansible/deploy_awx_k8s.yml
This commit is contained in:
@@ -28,8 +28,7 @@
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: "{{ awx_namespace }}"
|
||||
environment:
|
||||
KUBECONFIG: /home/semaphore/.kube/config
|
||||
kubeconfig: /home/semaphore/.kube/config
|
||||
|
||||
- name: Set current namespace context (optional, for convenience)
|
||||
command: kubectl config set-context --current --namespace={{ awx_namespace }}
|
||||
@@ -38,6 +37,8 @@
|
||||
- name: Install AWX Operator using kustomize
|
||||
command: >-
|
||||
kubectl apply -k "github.com/ansible/awx-operator/config/default?ref={{ awx_operator_version }}"
|
||||
environment:
|
||||
KUBECONFIG: /home/semaphore/.kube/config
|
||||
changed_when: false
|
||||
|
||||
- name: Wait for AWX Operator to be ready
|
||||
|
||||
Reference in New Issue
Block a user