mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 22:33:35 +00:00
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
- include_tasks: cleanup.yml
|
- include_tasks: cleanup.yml
|
||||||
vars:
|
vars:
|
||||||
backup_dir: "{{ this_backup['resources'][0]['status']['backupDirectory'] }}"
|
backup_dir: "{{ this_backup['resources'][0]['status']['backupDirectory'] | default() }}"
|
||||||
when:
|
when:
|
||||||
- clean_backup_on_delete and backup_dir is defined
|
- clean_backup_on_delete
|
||||||
|
- backup_dir | length > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user