B&R: Fix backup when openstack is not installed

When the stx-openstack is not installed, a variable
is left undefined in the ansible playbook, so we fix
this by adding a default value for that variable.

Change-Id: I3a2480456074022c0a1227bc19cea92f318afb1f
Closes-Bug: #1860357
Signed-off-by: Mihnea Saracin <Mihnea.Saracin@windriver.com>
This commit is contained in:
Mihnea Saracin 2020-01-21 14:59:05 +02:00
parent ae1e45e00e
commit e03b1efbaf
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@
copy:
dest: "{{ helm_overrides_dir.path }}/helm_overrides_dump.sql"
mode: 0755
content: '{{ updates_list }}'
content: '{{ updates_list | default("") }}'
# Now Postgres data and MariaDB data are stored in staging dir, we can estimate