|
595 | 595 | register: result
|
596 | 596 | failed_when: result is not changed
|
597 | 597 |
|
598 |
| - # - name: Plugin auth | Check that the expected plugin type is set (not changed) |
599 |
| - # ansible.builtin.include_tasks: utils/assert_plugin.yml |
600 |
| - # vars: |
601 |
| - # user_name: "{{ test_user_name }}" |
602 |
| - # plugin_type: "{{ test_plugin_type }}" |
603 |
| - |
604 |
| - # - name: Plugin auth | Change auth user plugin |
605 |
| - # community.mysql.mysql_user: |
606 |
| - # <<: *mysql_params |
607 |
| - # name: "{{ test_user_name }}" |
608 |
| - # host: '%' |
609 |
| - # plugin: caching_sha2_password |
610 |
| - # plugin_auth_string: "{{ test_plugin_auth_string }}" |
611 |
| - # salt: "{{ test_salt }}" |
612 |
| - # priv: "{{ test_default_priv }}" |
613 |
| - # register: result |
614 |
| - # failed_when: result is not changed |
615 |
| - |
616 |
| - # - name: Plugin auth | Check that the expected (new) plugin type is set |
617 |
| - # ansible.builtin.include_tasks: utils/assert_plugin.yml |
618 |
| - # vars: |
619 |
| - # user_name: "{{ test_user_name }}" |
620 |
| - # plugin_type: caching_sha2_password |
621 |
| - |
622 |
| - # - name: Plugin auth | Change auth user plugin again (should not change) |
623 |
| - # community.mysql.mysql_user: |
624 |
| - # <<: *mysql_params |
625 |
| - # name: "{{ test_user_name }}" |
626 |
| - # host: '%' |
627 |
| - # plugin: caching_sha2_password |
628 |
| - # plugin_auth_string: "{{ test_plugin_auth_string }}" |
629 |
| - # salt: "{{ test_salt }}" |
630 |
| - # priv: "{{ test_default_priv }}" |
631 |
| - # register: result |
632 |
| - # failed_when: result is changed |
633 |
| - |
634 |
| - # - name: Plugin auth | Check that the expected (not changed) plugin type is set |
635 |
| - # ansible.builtin.include_tasks: utils/assert_plugin.yml |
636 |
| - # vars: |
637 |
| - # user_name: "{{ test_user_name }}" |
638 |
| - # plugin_type: caching_sha2_password |
| 598 | + - name: Plugin auth | Check that the expected plugin type is set (not changed) |
| 599 | + ansible.builtin.include_tasks: utils/assert_plugin.yml |
| 600 | + vars: |
| 601 | + user_name: "{{ test_user_name }}" |
| 602 | + plugin_type: "{{ test_plugin_type }}" |
| 603 | + |
| 604 | + - name: Plugin auth | Change auth user plugin |
| 605 | + community.mysql.mysql_user: |
| 606 | + <<: *mysql_params |
| 607 | + name: "{{ test_user_name }}" |
| 608 | + host: '%' |
| 609 | + plugin: caching_sha2_password |
| 610 | + plugin_auth_string: "{{ test_plugin_auth_string }}" |
| 611 | + salt: "{{ test_salt }}" |
| 612 | + priv: "{{ test_default_priv }}" |
| 613 | + register: result |
| 614 | + failed_when: result is not changed |
| 615 | + |
| 616 | + - name: Plugin auth | Check that the expected (new) plugin type is set |
| 617 | + ansible.builtin.include_tasks: utils/assert_plugin.yml |
| 618 | + vars: |
| 619 | + user_name: "{{ test_user_name }}" |
| 620 | + plugin_type: caching_sha2_password |
| 621 | + |
| 622 | + - name: Plugin auth | Change auth user plugin again (should not change) |
| 623 | + community.mysql.mysql_user: |
| 624 | + <<: *mysql_params |
| 625 | + name: "{{ test_user_name }}" |
| 626 | + host: '%' |
| 627 | + plugin: caching_sha2_password |
| 628 | + plugin_auth_string: "{{ test_plugin_auth_string }}" |
| 629 | + salt: "{{ test_salt }}" |
| 630 | + priv: "{{ test_default_priv }}" |
| 631 | + register: result |
| 632 | + failed_when: result is changed |
| 633 | + |
| 634 | + - name: Plugin auth | Check that the expected (not changed) plugin type is set |
| 635 | + ansible.builtin.include_tasks: utils/assert_plugin.yml |
| 636 | + vars: |
| 637 | + user_name: "{{ test_user_name }}" |
| 638 | + plugin_type: caching_sha2_password |
0 commit comments