mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-02 04:04:26 -07:00
Add missing tests
This commit is contained in:
parent
e5ad4461cd
commit
f1155fa9ab
1 changed files with 37 additions and 37 deletions
|
@ -595,44 +595,44 @@
|
|||
register: result
|
||||
failed_when: result is not changed
|
||||
|
||||
# - name: Plugin auth | Check that the expected plugin type is set (not changed)
|
||||
# ansible.builtin.include_tasks: utils/assert_plugin.yml
|
||||
# vars:
|
||||
# user_name: "{{ test_user_name }}"
|
||||
# plugin_type: "{{ test_plugin_type }}"
|
||||
- name: Plugin auth | Check that the expected plugin type is set (not changed)
|
||||
ansible.builtin.include_tasks: utils/assert_plugin.yml
|
||||
vars:
|
||||
user_name: "{{ test_user_name }}"
|
||||
plugin_type: "{{ test_plugin_type }}"
|
||||
|
||||
# - name: Plugin auth | Change auth user plugin
|
||||
# community.mysql.mysql_user:
|
||||
# <<: *mysql_params
|
||||
# name: "{{ test_user_name }}"
|
||||
# host: '%'
|
||||
# plugin: caching_sha2_password
|
||||
# plugin_auth_string: "{{ test_plugin_auth_string }}"
|
||||
# salt: "{{ test_salt }}"
|
||||
# priv: "{{ test_default_priv }}"
|
||||
# register: result
|
||||
# failed_when: result is not changed
|
||||
- name: Plugin auth | Change auth user plugin
|
||||
community.mysql.mysql_user:
|
||||
<<: *mysql_params
|
||||
name: "{{ test_user_name }}"
|
||||
host: '%'
|
||||
plugin: caching_sha2_password
|
||||
plugin_auth_string: "{{ test_plugin_auth_string }}"
|
||||
salt: "{{ test_salt }}"
|
||||
priv: "{{ test_default_priv }}"
|
||||
register: result
|
||||
failed_when: result is not changed
|
||||
|
||||
# - name: Plugin auth | Check that the expected (new) plugin type is set
|
||||
# ansible.builtin.include_tasks: utils/assert_plugin.yml
|
||||
# vars:
|
||||
# user_name: "{{ test_user_name }}"
|
||||
# plugin_type: caching_sha2_password
|
||||
- name: Plugin auth | Check that the expected (new) plugin type is set
|
||||
ansible.builtin.include_tasks: utils/assert_plugin.yml
|
||||
vars:
|
||||
user_name: "{{ test_user_name }}"
|
||||
plugin_type: caching_sha2_password
|
||||
|
||||
# - name: Plugin auth | Change auth user plugin again (should not change)
|
||||
# community.mysql.mysql_user:
|
||||
# <<: *mysql_params
|
||||
# name: "{{ test_user_name }}"
|
||||
# host: '%'
|
||||
# plugin: caching_sha2_password
|
||||
# plugin_auth_string: "{{ test_plugin_auth_string }}"
|
||||
# salt: "{{ test_salt }}"
|
||||
# priv: "{{ test_default_priv }}"
|
||||
# register: result
|
||||
# failed_when: result is changed
|
||||
- name: Plugin auth | Change auth user plugin again (should not change)
|
||||
community.mysql.mysql_user:
|
||||
<<: *mysql_params
|
||||
name: "{{ test_user_name }}"
|
||||
host: '%'
|
||||
plugin: caching_sha2_password
|
||||
plugin_auth_string: "{{ test_plugin_auth_string }}"
|
||||
salt: "{{ test_salt }}"
|
||||
priv: "{{ test_default_priv }}"
|
||||
register: result
|
||||
failed_when: result is changed
|
||||
|
||||
# - name: Plugin auth | Check that the expected (not changed) plugin type is set
|
||||
# ansible.builtin.include_tasks: utils/assert_plugin.yml
|
||||
# vars:
|
||||
# user_name: "{{ test_user_name }}"
|
||||
# plugin_type: caching_sha2_password
|
||||
- name: Plugin auth | Check that the expected (not changed) plugin type is set
|
||||
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