From 8d6a64e9ef6a2a7cc2e2c888567808d51ad688aa Mon Sep 17 00:00:00 2001 From: Fernando Diaz Date: Fri, 27 Jan 2023 11:18:57 +0100 Subject: [PATCH] bnr - missing db backup files When executing the overcloud backup command, the db backup files are missing since the when condition for executing the db_backup.yaml file is never met. Change-Id: I0eed37d1da74acf9d7910c6ed0c2ac47adadda12 (cherry picked from commit c142619f00017280b68eafcdfa120e77490cf0ae) (cherry picked from commit 2ccb020573d89207b8e341be9e2f17d81a7460c7) (cherry picked from commit cec5e912c878476bb8760c1f037057a2c940d666) --- tripleo_ansible/roles/backup-and-restore/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleo_ansible/roles/backup-and-restore/tasks/main.yml b/tripleo_ansible/roles/backup-and-restore/tasks/main.yml index 3b5585370..7481a26b1 100644 --- a/tripleo_ansible/roles/backup-and-restore/tasks/main.yml +++ b/tripleo_ansible/roles/backup-and-restore/tasks/main.yml @@ -76,7 +76,7 @@ - name: Backup the database import_tasks: ../backup/tasks/db_backup.yml - when: tripleo_backup_and_restore_enabled_services.stdout is search('mysql^') + when: "'mysql' in tripleo_backup_and_restore_enabled_services.stdout" - name: Backup pacemaker configuration import_tasks: pacemaker_backup.yml