mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-02 04:04:26 -07:00
Fix newpass var
This commit is contained in:
parent
a9b97b4681
commit
6dab807ea1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue