mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-03 20:54:25 -07:00
Add check
This commit is contained in:
parent
585ddd6509
commit
3b388eb775
1 changed files with 7 additions and 1 deletions
|
@ -564,6 +564,12 @@
|
|||
password: "{{ test_plugin_auth_string }}"
|
||||
priv: "{{ test_default_priv }}"
|
||||
|
||||
- name: Plugin auth | Check that the expected (previous) plugin type is set
|
||||
ansible.builtin.include_tasks: utils/assert_plugin.yml
|
||||
vars:
|
||||
user_name: "{{ test_user_name }}"
|
||||
plugin_type: "{{ test_plugin_type }}"
|
||||
|
||||
- name: Plugin auth | Connect with user and password
|
||||
ansible.builtin.command: '{{ mysql_command }} -u {{ test_user_name }} -p{{ test_plugin_auth_string }} -e "SELECT 1"'
|
||||
|
||||
|
@ -583,7 +589,7 @@
|
|||
ansible.builtin.include_tasks: utils/assert_plugin.yml
|
||||
vars:
|
||||
user_name: "{{ test_user_name }}"
|
||||
plugin_type: "{{ caching_sha2_password }}"
|
||||
plugin_type: "{{ test_plugin_type }}"
|
||||
|
||||
- name: Plugin auth | Change auth user plugin
|
||||
community.mysql.mysql_user:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue