Commit graph

116 commits

Author SHA1 Message Date
Laurent Indermühle
41e7ce5aaa
Update galaxy.yml to the next expected version (#412) 2022-08-03 10:26:26 +02:00
Laurent Indermühle
99548e10cb
Release 1.4.8 commit (#410) 2022-08-02 10:08:19 +02:00
patchback[bot]
6ebf59e234
README: update MariaDB versions we test against (#404) (#406)
(cherry picked from commit 6f87620d9b)

Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2022-06-24 15:07:27 +02:00
patchback[bot]
97be51ef45
Note added regarding the default config file, ~/.my.cnf (#400) (#402)
* Note added for https://github.com/ansible-collections/community.mysql/issues/394

* Update config file notes as discussed

* Update plugins/doc_fragments/mysql.py

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

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
(cherry picked from commit 0df46e0e67)

Co-authored-by: Chris Croome <chris@webarchitects.co.uk>
2022-06-17 08:27:00 +02:00
Andrew Klychkov
d8ab933d79
Update licensing information (#392) 2022-06-03 16:28:29 +02:00
Andrew Klychkov
949cb0c1dd
Release 1.4.7 commit (#387) 2022-06-02 08:15:26 +02:00
patchback[bot]
89eb2d2fea
Changed += to append because cmd is a list (#377) (#386)
Using += on a list cause some problems druing creation of mysql command:
/usr/bin/mysql   - - u s e r = r o o t   - - p a s s w o r d = ' ' --socket=/run/mysqld/mysqld.sock

(cherry picked from commit 2e9d50f274)

Co-authored-by: Maciej <moledzki@users.noreply.github.com>
2022-06-01 07:58:16 +02:00
hubiongithub
4d4a5f2a02
merge into stable1 (#383)
* PR379 merge

* Update plugins/modules/mysql_user.py

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

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2022-05-31 17:43:15 +02:00
Andrew Klychkov
f7677aa05b
[stable-1] mysql_query: fix false change reports when IF NOT EXISTS clause is used (#375)
* mysql_query: fix false change reports when IF NOT EXISTS clause is used (#322)

* mysql_query: fix false change reports when IF NOT EXISTS clause is used

* Fix

* Fix doc, add fragment

* Improve doc

(cherry picked from commit 647461010d)

* Fix tests
2022-05-26 08:41:21 +02:00
Andrew Klychkov
0921d4eef5
Release 1.4.6 commit (#361) 2022-05-17 12:08:28 +02:00
Felix Fontein
f4736770e3
Add PSF-license.txt file (#356) (#359)
* Add PSF-license.txt file.

* Update with actual CPython 3.9.5 license.

(cherry picked from commit b2e476cb1a)
2022-05-17 08:24:07 +02:00
Andrew Klychkov
3bb7b00497
Release 1.4.5 commit (#353) 2022-05-13 09:07:25 +02:00
Andrew Klychkov
393023eb07
[stable-1] mysql_user: fix parsing privs when a user has roles assigned to it (#346)
* mysql_user: fix parsing privs when a user has roles assigned to it

* Fix CI

* Fix CI
2022-05-12 15:19:20 +02:00
Andrew Klychkov
256817ca32
Drop support for Ansible 2.9 and ansible-base 2.10 (#347) 2022-05-12 14:11:36 +02:00
patchback[bot]
a2a4a1ff61
Move CHANGELOG.rst at top level (#349) (#351)
(cherry picked from commit f57ed38beb)

Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2022-05-12 11:53:46 +02:00
Andrew Klychkov
b730cd6675
mysql_user: added flush privileges to write dynamic privs into db (#340) 2022-04-29 17:52:07 +02:00
Andrew Klychkov
2a57a4d659
CI: add testing against ansible-core 2.13 (#328)
Co-authored-by: R.Sicart <roger.sicart@gmail.com>
2022-04-03 08:10:42 +02:00
Andrew Klychkov
278337d34f
[stable-1] Backports (#325)
* Clarified error message about missing python modules (#279)

* Clarified error message about missing python modules, and tweak documentation to suggest overriding interpreter.

* Mention mysqlclient as another option

* Correct mysqlclient suggestions from python2 to python3

Co-authored-by: Matthew Exon <git.mexon@spamgourmet.com>
(cherry picked from commit 82baf7508c)

* Copy ignore-2.13.txt to ignore-2.14.txt (#323)

* Copy ignore-2.13.txt to ignore-2.14.txt

* Fix sanity

(cherry picked from commit c16b2428e8)

Co-authored-by: Matthew Exon <github2.mexon@neverbox.com>
2022-04-02 17:33:52 +02:00
patchback[bot]
d5a1e3639a
mysql_user: clarify behavior of priv parameter (#319) (#320)
(cherry picked from commit 5afae459dc)

Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2022-03-25 12:33:01 +01:00
patchback[bot]
bfcf89073a
Fix roles CI (#316) (#318)
(cherry picked from commit e6e661b87f)

Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
2022-03-24 06:55:08 +01:00
patchback[bot]
15ee80b57c
Setup patchback bot config file (resolves #310) (#311) (#313)
(cherry picked from commit 55458f5b0b)

Co-authored-by: R.Sicart <roger.sicart@gmail.com>
2022-03-17 11:19:01 +01:00
Andrew Klychkov
59d411ac82
Add IF EXISTS clause to DROP USER statement (#309) 2022-03-15 15:43:09 +01:00
Andrew Klychkov
b0de252ce2
Update requirements (#302) 2022-03-15 13:53:20 +01:00
Andrew Klychkov
96a255c00a
[stable-1] Enable and fix integration tests for devel (#298)
* Enable and fix integration tests for devel

* Add exclusions
2022-03-14 11:51:54 +01:00
Andrew Klychkov
f46b84e670
Release 1.4.4 commit (#277) 2022-01-18 11:05:37 +01:00
Andrew Klychkov
9386045797
[stable-1] Use vendored version of distutils.version (#274)
* Prepare for distutils.version being removed in Python 3.12 (#267)

* Prepare for distutils.version being removed in Python 3.12

* Update plugins/module_utils/version.py

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

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit d9e12b85ad)

* Use vendored version of distutils.version (#269)

* Use vendored version of distutils.version

* Correct fragment

* Update plugins/module_utils/version.py

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

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 9c575b4762)

* Add ignore-2.13.txt
2022-01-18 10:53:09 +01:00
Andrew Klychkov
ace830ef56
Release 1.4.3 commit (#222) 2021-09-23 14:29:24 +02:00
Andrew Klychkov
e5919428f1
Update README.md (#216) (#221)
(cherry picked from commit 4de0e25ea0)
2021-09-23 14:07:17 +02:00
Andrew Klychkov
dbcc7e7e60
[stable-1] mysql_info: fix TypeError failure when there are databases that do not contain tables (#209)
* mysql_info: fix TypeError failure when there are databases that do not contain tables (#205)

* mysql_info: fix TypeError failure when there are databases that do not contain tables

* Add changelog fragment

(cherry picked from commit a1f419d541)

* Fix sanity errors
2021-08-20 09:50:34 +02:00
Andrew Klychkov
f49206d3b3
Release 1.4.2 commit (#198) 2021-08-11 08:38:59 +02:00
Andrew Klychkov
64b06aa543
mysql_query: correctly reflect changed status in replace statements (#193) (#197)
* mysql_query: correctly reflect changed status in replace statements.

* Fix the wrong indent.

(cherry picked from commit 9055bb4c8c)

Co-authored-by: Tong He <68936428+unnecessary-username@users.noreply.github.com>
2021-08-10 15:38:37 +02:00
Andrew Klychkov
9c17158802
[stable-1] Doc commit backport (#196)
* Add CONTRIBUTORS file (#166)

(cherry picked from commit ac927fdb08)

* Add documentation for privs with functions and procedures (#169)

(cherry picked from commit 6bce48e771)

* Update README.md (#168)

* Update README.md

* Fix

* Add MAINTAINERS file

(cherry picked from commit 479edd81d1)

* Improve wording in README (#170)

* 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>
(cherry picked from commit c909aa2182)

* Update REVIEW_CHECKLIST.md (#171)

(cherry picked from commit 2236110bae)

* README: add a note how people can complain (#172)

* 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>
(cherry picked from commit be4e84a92a)

* README: fix typos (#174)

(cherry picked from commit 2a80c301a6)

* README.md: Add link to IRC (#175)

(cherry picked from commit 3335a95ba5)

* README.md, CONTRIBUTING.md: add links to the Maintainer guidelines (#179)

(cherry picked from commit 8fad3f85b8)

* Update README (#181)

(cherry picked from commit 6d9288d19b)

* Update README.md (#183)

* Update README.md

* Change IRC ref

(cherry picked from commit 69012a2eb9)

* README: fix link (#184)

(cherry picked from commit 8ab6ea7714)

* README: fix the channel name (#185)

(cherry picked from commit cd759924fd)

* CONTRIBUTING.md: replace the content with a link to Ansible contributing guidelines (#187)

(cherry picked from commit 56a214885a)

* Update README (#186)

* Update README

* Fix

* Fix

* Fix

* Fix

* Add Libera.Chat link

(cherry picked from commit adb201a795)

* fix typo (#190)

"optoin" -> "option"

(cherry picked from commit 596ba0cedb)

* Update README.md (#191)

* Update README.md

* Update README.md

(cherry picked from commit 6f02cb266a)

* Add MAINTAINING.md, update README.md (#192)

(cherry picked from commit 0fabb2b77a)

Co-authored-by: Alexander Skiba <ghostlyrics@gmail.com>
Co-authored-by: Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>
2021-08-10 14:33:56 +02:00
Andrew Klychkov
d200481305
Update galaxy.yml (#160) 2021-04-23 16:44:33 +02:00
Andrew Klychkov
b3a83aa0a3
Release 1.4.1 commit (#159) 2021-04-23 15:59:12 +02:00
Andrew Klychkov
fe8f3662eb
mysql: revert changes made in PR 116 (#153) (#156)
* mysql: revert changes made in PR 116

* Add changelog fragment

* Fix CI

* Fix CI

* Fix CI

* Update CI

* Fix CI

(cherry picked from commit 738343d64c)
2021-04-23 14:08:49 +02:00
Andrew Klychkov
59cbe5ffe3 Release 1.4.0 2021-04-16 08:53:51 +02:00
Andrew Klychkov
d517d658a1 Update galaxy.yml 2021-04-16 07:08:18 +02:00
Jorge Rodriguez (A.K.A. Tiriel)
dc522cc5d3
Deprecate REQUIRESSL privilege (#132)
* 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 (#139) 2021-04-07 16:54:41 +02:00
Andrew Klychkov
dad555a536
Tests: add ansible 2.11 support (#138)
@Andersson007 thanks for this PR
2021-04-06 11:12:27 +03:00
Andrew Klychkov
ba791bf983
Fix REVIEW_CHECKLIST.md (#133) 2021-03-31 08:54:51 +02:00
Andrew Klychkov
ecd15c83f7
Add refs to the committer guidelines (#131) 2021-03-29 11:48:11 +02:00
Andrew Klychkov
2960748473
CONTRIBUTING.md: add a reference to REVIEW_CHECKLIST.md (#130) 2021-03-28 07:54:55 +02:00
Andrew Klychkov
ca963b23c0
Add review_checklist.md (#127)
* 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 (#129) 2021-03-26 21:20:50 +02:00
Jorge Rodriguez (A.K.A. Tiriel)
fcb459499e
Add discussions section (#126)
* 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 (#125)
* 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 (#112)
* 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 (#123)
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 (#103)
* 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