Обновить ansible/deploy_awx_k8s.yml

This commit is contained in:
2025-12-28 22:24:00 +00:00
parent 307fff0d60
commit 3bff4a21cc

View File

@@ -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