Commit graph

310 commits

Author SHA1 Message Date
int32bit
663590689f
Fix wrong impl for mysql ()
If 'mariadb' in version info, the db instance should be mariadb(reverse in code) rather than mysql.
2021-08-25 09:21:24 +02:00
Andrew Klychkov
a1f419d541
mysql_info: fix TypeError failure when there are databases that do not contain tables ()
* mysql_info: fix TypeError failure when there are databases that do not contain tables

* Add changelog fragment
2021-08-20 08:17:34 +02:00
Andrew Klychkov
8a17e43eae
Fix sanity errors () 2021-08-19 16:20:28 +02:00
Andrew Klychkov
968dabef7f
Remove a changelog fragment after release () 2021-08-11 11:12:42 +02:00
Andrew Klychkov
ce2b269f84
mysql_role: new module ()
* mysql_role: new module

* fixes

* fixes

* Add the role class

* Check if role exists

* role.add()

* role.__get_members

* tmp

* tmp

* Change tests

* Fix

* Fix

* add_members()

* get_privs()

* tmp

* __extract_grants() filler version

* Before big work

* tmp

* drop()

* tmp

* tmp

* Big changes

* Fix

* append_members, detach_members, append_privs

* tmp

* admin option

* Add tests

* Add tests

* Fix tests

* Remove debug warning

* Fix tests

* Add documentation

* Fix MariaDB case

* Fix MariaDB

* Fix MariaDB

* Fix MariaDB

* Fix MariaDB

* Fix MariaDB

* Fix

* Fix

* Remove debug warning

* Add try-except block

* tmp

* tmp

* tmp

* Fix

* Add err handling

* Add user check

* Check admin in db

* Fix CI

* Fix CI

* Fix CI

* Fix CI

* Fix

* Add mutually exclusive options

* Small refactoring, documenting

* Documenting, refactoring

* Change docs

* Refactoring

* Refactoring

* Refactoring

* Add unit tests

* Update README.md
2021-08-10 13:30:34 +02:00
Tong He
9055bb4c8c
mysql_query: correctly reflect changed status in replace statements ()
* mysql_query: correctly reflect changed status in replace statements.

* Fix the wrong indent.
2021-07-28 09:18:00 +02:00
Andrew Klychkov
0fabb2b77a
Add MAINTAINING.md, update README.md () 2021-07-21 10:51:38 +02:00
Andrew Klychkov
6f02cb266a
Update README.md ()
* Update README.md

* Update README.md
2021-07-21 10:31:50 +02:00
Baptiste Mille-Mathias
596ba0cedb
fix typo ()
"optoin" -> "option"
2021-07-09 09:17:44 +02:00
Andrew Klychkov
adb201a795
Update README ()
* Update README

* Fix

* Fix

* Fix

* Fix

* Add Libera.Chat link
2021-06-17 15:55:24 +02:00
Andrew Klychkov
56a214885a
CONTRIBUTING.md: replace the content with a link to Ansible contributing guidelines () 2021-06-16 15:53:32 +02:00
Andrew Klychkov
cd759924fd
README: fix the channel name () 2021-06-15 06:57:36 +02:00
Andrew Klychkov
8ab6ea7714
README: fix link () 2021-06-14 15:41:47 +02:00
Andrew Klychkov
69012a2eb9
Update README.md ()
* Update README.md

* Change IRC ref
2021-06-14 11:30:35 +02:00
Andrew Klychkov
6d9288d19b
Update README () 2021-06-04 10:44:27 +02:00
Andrew Klychkov
8fad3f85b8
README.md, CONTRIBUTING.md: add links to the Maintainer guidelines () 2021-06-03 10:06:25 +02:00
Andrew Klychkov
3335a95ba5
README.md: Add link to IRC () 2021-06-02 07:05:57 +02:00
Andrew Klychkov
71b274213e
Fix a typo in README () 2021-05-25 06:54:50 +02:00
Andrew Klychkov
2a80c301a6
README: fix typos () 2021-05-25 06:54:16 +02:00
Andrew Klychkov
be4e84a92a
README: add a note how people can complain ()
* README: add a note how people can complain

* Change

* Improve

* Update README.md

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>
2021-05-24 13:31:30 +02:00
Andrew Klychkov
2236110bae
Update REVIEW_CHECKLIST.md () 2021-05-20 14:41:11 +03:00
Andrew Klychkov
c909aa2182
Improve wording in README ()
* Improve wording in README

* Update README.md

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>
2021-05-20 14:40:16 +03:00
Andrew Klychkov
479edd81d1
Update README.md ()
* Update README.md

* Fix

* Add MAINTAINERS file
2021-05-18 15:47:02 +02:00
Alexander Skiba
6bce48e771
Add documentation for privs with functions and procedures () 2021-05-18 07:57:07 +02:00
Andrew Klychkov
ac927fdb08
Add CONTRIBUTORS file () 2021-05-13 16:59:15 +02:00
Andrew Klychkov
158471e7ee
Remove changelog fragments after release 2.1.0 () 2021-04-28 07:45:00 +02:00
Andrew Klychkov
738343d64c
mysql: revert changes made in PR 116 ()
* mysql: revert changes made in PR 116

* Add changelog fragment

* Fix CI

* Fix CI

* Fix CI

* Update CI

* Fix CI
2021-04-23 12:57:23 +02:00
Andrew Klychkov
c8f9b1cd3f
mysql_replication: Add aliases to "master" options, add alternatives to "master" state options, add announcement ()
* 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>
2021-04-20 15:58:21 +02:00
Andrew Klychkov
853db5a2a4
mysql_replication: add deprecation warning about future replacement of Is_Slave and Is_Master return values, add alternatives ()
* mysql_replication: add deprecation warning about future replacement of Is_Slave and Is_Master return values, add alternatives

* Add changelog fragment
2021-04-16 06:34:35 +02:00
Andrew Klychkov
f7c84a71e5
Update main branch after branching new stable-2 branch () 2021-04-15 10:14:34 +02:00
Andrew Klychkov
1790664c00
mysql_replication: replace the word slave with replica in messages ()
* mysql_replication: replace the word slave with replica in messages

* Add changelog fragment

* Add announcements
2021-04-15 09:38:32 +02:00
Jorge Rodriguez (A.K.A. Tiriel)
dc522cc5d3
Deprecate REQUIRESSL privilege ()
* Deprecate REQUIRESSL privilege

* Add missing whitespace

* Fix according to PR review

* Fix conditional check

* Fix privilege string parsing

* Add unit tests for the new function

* Add integration tests

* Fix parentheses indentation

* Cover alternative error message

* Fix privileges

* Limit verification of access denied to pymysql connector

* Fix REQUIRE SSL verification tests
2021-04-10 07:01:15 +02:00
Andrew Klychkov
6342fb6f23
Update README.md () 2021-04-07 16:54:41 +02:00
Andrew Klychkov
dad555a536
Tests: add ansible 2.11 support ()
@Andersson007 thanks for this PR
2021-04-06 11:12:27 +03:00
Andrew Klychkov
ba791bf983
Fix REVIEW_CHECKLIST.md () 2021-03-31 08:54:51 +02:00
Andrew Klychkov
ecd15c83f7
Add refs to the committer guidelines () 2021-03-29 11:48:11 +02:00
Andrew Klychkov
2960748473
CONTRIBUTING.md: add a reference to REVIEW_CHECKLIST.md () 2021-03-28 07:54:55 +02:00
Andrew Klychkov
ca963b23c0
Add review_checklist.md ()
* Add review_checklist.md

* Add general tips

* Improve general tips

* fix

* fix

* fix

* fix

* fix

* fix

* Fix

* Update review_checklist.md

Co-authored-by: Amin Vakil <info@aminvakil.com>

* Fix

* Update review_checklist.md

Co-authored-by: Amin Vakil <info@aminvakil.com>

* Update review_checklist.md

Co-authored-by: Amin Vakil <info@aminvakil.com>

* Rename checklist

Co-authored-by: Amin Vakil <info@aminvakil.com>

* Update REVIEW_CHECKLIST.md

Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>

* Add suggested

* Add clarifications

Co-authored-by: Amin Vakil <info@aminvakil.com>
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
2021-03-27 10:03:03 +01:00
Andrew Klychkov
60646bcadb
Improve CONTRIBUTING.md () 2021-03-26 21:20:50 +02:00
Jorge Rodriguez (A.K.A. Tiriel)
fcb459499e
Add discussions section ()
* Add discussions section

* Syntax improvements

Co-authored-by: Andrew Klychkov <aklychko@redhat.com>

Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2021-03-23 09:09:01 +01:00
Jorge Rodriguez (A.K.A. Tiriel)
e5bf8836fa
Add note about the contribution guide ()
* Add note about the contribution guide

* Update README.md

Co-authored-by: Andrew Klychkov <aklychko@redhat.com>

Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2021-03-22 09:51:57 +01:00
Andrew Klychkov
f0c917e606
Add CONTRIBUTING.md ()
* Add CONTRIBUTING.md

* Fix suggested

* Fix suggested

* Fix suggested

* Update CONTRIBUTING.md

Co-authored-by: Amin Vakil <info@aminvakil.com>

* Fix

* Change suggested

* Add an option

* Add an example

* Fix

* Update CONTRIBUTING.md

Co-authored-by: Amin Vakil <info@aminvakil.com>

* Update CONTRIBUTING.md

Co-authored-by: Felix Fontein <felix@fontein.de>

* Fix

* Fix suggested

* Update CONTRIBUTING.md

Co-authored-by: Amin Vakil <info@aminvakil.com>

* Add git installed mentioned

* Update CONTRIBUTING.md

Co-authored-by: Felix Fontein <felix@fontein.de>

* Add suggested

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Fix

* Update CONTRIBUTING.md

Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Fix

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update CONTRIBUTING.md

Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>

* Update CONTRIBUTING.md

Co-authored-by: Sandra McCann <samccann@redhat.com>

Co-authored-by: Amin Vakil <info@aminvakil.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Sandra McCann <samccann@redhat.com>
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu>
2021-03-22 08:58:22 +01:00
Norbert Varzariu
0bdf9e2ee7
update docs on check_hostname corresponding to mysqls cli --ssl switch ()
Signed-off-by: Norbert Varzariu <loomsen@gmail.com>
2021-03-21 21:30:28 +02:00
Jorge Rodriguez (A.K.A. Tiriel)
11958ec46a
Handle divergences between MySQL and MariaDB ()
* Initial attempt

* First functional approach

* Remove unused imports

* Add dychotomy handling for mysql_replication

* Fix cursor lookup

* Fix sanity tests

* Cleanup implementation conditional import

* Fix unit tests

* Fix conditional import to satisfy both sanity and integration tests

* Add changelog fragment
2021-03-16 09:15:19 +01:00
Sebastian Gumprich
a5ee4b3d1a
add mysql_full_version and suffix return variable ()
* add mysql_full_version and suffix return variable

add changelog fragment

* rephrase changelog fragment

* Update plugins/modules/mysql_info.py

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

* Add changes as per PR review

* Add tests for new suffix output parameter

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Jorge-Rodriguez <jorge.rodriguez@futurice.com>
2021-03-16 09:10:52 +02:00
Daniel Ziegenberg
2254b29178
change deprecated parameter pw and db ()
* change deprecated parameter pw to password

* change deprecated parameter db to database

* add changelog fragment
2021-03-16 07:15:12 +02:00
Andrew Klychkov
bd86e249d0
mysql_replication: add a reference to how to encrypted connection options ()
* mysql_replication: add a reference to how to encrypted connection options

* Fix sanity
2021-03-15 09:39:14 +01:00
Felix Fontein
884310cf24
Mark master_ssl_key as no_log=False. () 2021-03-15 07:30:53 +01:00
Andrew Klychkov
baea97d24c
mysql_user: Add REPLICA MONITOR privilege to supported ()
* mysql_user: Add REPLICA MONITOR privilege to supported

* Add changelog fragment
2021-03-11 16:17:49 +01:00
Andrew Klychkov
fc2dd0079f
Add .keep file to changelog/fragments to make it always present () 2021-03-10 18:16:18 +01:00