1586: awx-operator restore from PVC is not working (#1603)

Co-authored-by: Roman Kuzmik <rkuzmik@cisco.com>
This commit is contained in:
romankuzmik
2023-11-09 09:39:27 -05:00
committed by GitHub
parent e4cfa2f809
commit 669fe1d253

View File

@@ -34,7 +34,7 @@
backup_pvc: "{{ this_backup['resources'][0]['status']['backupClaim'] }}"
backup_dir: "{{ this_backup['resources'][0]['status']['backupDirectory'] }}"
when:
- backup_name != '' or backup_name is defined
- backup_name is defined and backup_name != ''
# Check to make sure provided pvc exists, error loudly if not. Otherwise, the management pod will just stay in pending state forever.
- name: Check provided PVC exists