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