Fix newpass var

This commit is contained in:
Fran Sanjuán 2024-08-28 18:04:42 +02:00
commit 6dab807ea1

View file

@ -644,14 +644,14 @@
name: "{{ test_user_name }}"
host: '%'
plugin: caching_sha2_password
plugin_auth_string: newpass
plugin_auth_string: "{{ test_plugin_new_auth_string }}"
salt: "{{ test_salt }}"
priv: "{{ test_default_priv }}"
register: result
failed_when: result is not changed
- name: Plugin auth | Connect with user and password
ansible.builtin.command: '{{ mysql_command }} -u {{ test_user_name }} -pnewpass -e "SELECT 1"'
ansible.builtin.command: '{{ mysql_command }} -u {{ test_user_name }} -p{{ test_plugin_new_auth_string }} -e "SELECT 1"'
changed_when: false
- name: Plugin auth | Check that the expected plugin type is set after change