From 5d2dbb38b220e01ea4a9da50e75c8f5995b3877a Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Fri, 13 Jan 2017 14:32:10 -0800 Subject: [PATCH] Update missing database exception text The text given when there is a missing rally database was recently changed. Update the 'Create/upgrade Rally DB schema' task to look for the updated text so that the rally database can be created as required. Change-Id: I705148e8e3a4691d6922ce295719c0785d9a8cfb --- tasks/rally_db_setup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/rally_db_setup.yml b/tasks/rally_db_setup.yml index 9395c68..e1312d4 100644 --- a/tasks/rally_db_setup.yml +++ b/tasks/rally_db_setup.yml @@ -22,7 +22,7 @@ - name: Create/upgrade Rally DB schema command: "{{ rally_bin }}/rally-manage db create" when: - - rally_deployment_list_result.stdout | search("Table 'rally.deployments' doesn't exist") + - rally_deployment_list_result.stdout | search("Database is missing") - name: Check for existing Rally deployment command: "{{ rally_bin }}/rally deployment list"