mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-31 00:51:25 -07:00
mysql_replication: Add aliases to "master" options, add alternatives to "master" state options, add announcement (#150) (#152)
* mysql_replication: Add aliases, add alternatives for the state option, announce major changes
* Change tests
* Add changelog fragment
* Fix changelog
* Update plugins/modules/mysql_replication.py
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
* Update plugins/modules/mysql_replication.py
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
(cherry picked from commit c8f9b1cd3f
)
This commit is contained in:
parent
da7e73ef6e
commit
d9651f37d3
9 changed files with 234 additions and 185 deletions
|
@ -36,7 +36,7 @@
|
|||
|
||||
- name: attempt connection with newly created user (expect failure)
|
||||
mysql_replication:
|
||||
mode: getmaster
|
||||
mode: getprimary
|
||||
login_user: '{{ user_name_1 }}'
|
||||
login_password: '{{ user_password_1 }}'
|
||||
login_host: 127.0.0.1
|
||||
|
@ -57,7 +57,7 @@
|
|||
|
||||
- name: attempt connection with newly created user ignoring hostname
|
||||
mysql_replication:
|
||||
mode: getmaster
|
||||
mode: getprimary
|
||||
login_user: '{{ user_name_1 }}'
|
||||
login_password: '{{ user_password_1 }}'
|
||||
login_host: 127.0.0.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue