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
This commit is contained in:
Jimmy McCrory 2017-01-13 14:32:10 -08:00
parent 4b451fc394
commit 5d2dbb38b2

View File

@ -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"