mysql_replication: Add aliases to "master" options, add alternatives to "master" state options, add announcement (#150)

* 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>
This commit is contained in:
Andrew Klychkov 2021-04-20 15:58:21 +02:00 committed by GitHub
commit c8f9b1cd3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 234 additions and 185 deletions

View file

@ -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