mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-02 20:24:24 -07:00
Remove extra test
This commit is contained in:
parent
6dab807ea1
commit
017d072585
1 changed files with 0 additions and 22 deletions
|
@ -637,25 +637,3 @@
|
||||||
vars:
|
vars:
|
||||||
user_name: "{{ test_user_name }}"
|
user_name: "{{ test_user_name }}"
|
||||||
plugin_type: caching_sha2_password
|
plugin_type: caching_sha2_password
|
||||||
|
|
||||||
- name: Plugin auth | Change user password
|
|
||||||
community.mysql.mysql_user:
|
|
||||||
<<: *mysql_params
|
|
||||||
name: "{{ test_user_name }}"
|
|
||||||
host: '%'
|
|
||||||
plugin: caching_sha2_password
|
|
||||||
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 }} -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
|
|
||||||
ansible.builtin.include_tasks: utils/assert_plugin.yml
|
|
||||||
vars:
|
|
||||||
user_name: "{{ test_user_name }}"
|
|
||||||
plugin_type: caching_sha2_password
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue