Error message has changed; scrape the new message
This commit is contained in:
parent
97438f0039
commit
bd7ac7fd7d
1 changed files with 2 additions and 1 deletions
|
@ -57,11 +57,12 @@
|
|||
ignore_errors: true
|
||||
register: result
|
||||
|
||||
- debug: var=result.msg
|
||||
- name: assert output message that database not create with old password
|
||||
assert:
|
||||
that:
|
||||
- "result.failed == true"
|
||||
- "'check login_user and login_password are correct' in result.msg"
|
||||
- "'check login credentials (login_user, and login_password' in result.msg"
|
||||
|
||||
- name: create database using user2 and new password
|
||||
mysql_db: name={{ db_name }} state=present login_user={{ user_name_2 }} login_password={{ user_password_1 }}
|
||||
|
|
Loading…
Reference in a new issue