mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Restore: set proper kind var after deploying AWX CR
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Save kind
|
||||||
|
set_fact:
|
||||||
|
_kind: "{{ kind }}"
|
||||||
|
|
||||||
- name: Get AWX object definition from pvc
|
- name: Get AWX object definition from pvc
|
||||||
k8s_exec:
|
k8s_exec:
|
||||||
namespace: "{{ backup_pvc_namespace }}"
|
namespace: "{{ backup_pvc_namespace }}"
|
||||||
@@ -35,6 +39,10 @@
|
|||||||
- {'key': 'tower_broadcast_websocket_secret', 'value': '{{ broadcast_websocket_secret_name }}'}
|
- {'key': 'tower_broadcast_websocket_secret', 'value': '{{ broadcast_websocket_secret_name }}'}
|
||||||
- {'key': 'tower_postgres_configuration_secret', 'value': '{{ postgres_configuration_secret_name }}'}
|
- {'key': 'tower_postgres_configuration_secret', 'value': '{{ postgres_configuration_secret_name }}'}
|
||||||
|
|
||||||
|
- name: Restore kind
|
||||||
|
set_fact:
|
||||||
|
kind: "{{ _kind }}"
|
||||||
|
|
||||||
- name: Deploy AWX
|
- name: Deploy AWX
|
||||||
k8s:
|
k8s:
|
||||||
state: "{{ state | default('present') }}"
|
state: "{{ state | default('present') }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user