Fix tripleo_backup_and_restore_rear_simulate boolean check
If |bool is not added to the check,
"--extra-vars tripleo_backup_and_restore_rear_simulate=false" is
considered to be True.
Closes-Bug: #1934777
Change-Id: If80f48c39ea9fcb09a75711932ddb3958a4e8b16
(cherry picked from commit 07658bc8e0
)
This commit is contained in:
parent
86633a52a2
commit
774bcbc51b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue