Merge "Fix tripleo_backup_and_restore_rear_simulate boolean check"

This commit is contained in:
Zuul 2021-07-08 01:58:00 +00:00 committed by Gerrit Code Review
commit 3c600000fa
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
- bar_create_recover_image
- name: Create the node backup
command: rear {{ '-s ' if tripleo_backup_and_restore_rear_simulate else '' }}-d -v mkbackup
command: rear {{ (tripleo_backup_and_restore_rear_simulate | bool) | ternary('-s ', '') }}-d -v mkbackup
register: tripleo_backup_and_restore_rear_output
when: tripleo_backup_and_restore_rear_output is undefined
tags: