1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Error message has changed; scrape the new message

This commit is contained in:
Toshio Kuratomi 2015-02-02 12:05:01 -08:00
parent 97438f0039
commit bd7ac7fd7d

View file

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