Fix: test_mysql_user : Check that the module made a change and that the expected plugin type is set

'mysql_native_password' in show_create_user.stdout
This commit is contained in:
R. Sicart 2021-11-27 17:08:57 +01:00
commit b79a355bcf

View file

@ -31,7 +31,7 @@
register: result register: result
- name: Get user information - name: Get user information
command: "{{ mysql_command }} -e \"SHOW CREATE USER '{{ test_user_name }}'@'localhost'\"" command: "{{ mysql_command }} -e \"SELECT user, host, plugin FROM mysql.user WHERE user = '{{ test_user_name }}' and host = 'localhost'\""
register: show_create_user register: show_create_user
- name: Check that the module made a change and that the expected plugin type is set - name: Check that the module made a change and that the expected plugin type is set
@ -102,7 +102,7 @@
register: result register: result
- name: Get user information - name: Get user information
command: "{{ mysql_command }} -e \"SHOW CREATE USER '{{ test_user_name }}'@'localhost'\"" command: "{{ mysql_command }} -e \"SELECT user, host, plugin FROM mysql.user WHERE user = '{{ test_user_name }}' and host = 'localhost'\""
register: show_create_user register: show_create_user
- name: Check that the module made a change and that the expected plugin type is set - name: Check that the module made a change and that the expected plugin type is set