community.general/lib/ansible
Benjamin MALYNOVYTCH 9c5275092f mysql_user: fix compatibility issues with various MySQL/MariaDB versions (#45355)
* mysql_user: fix MySQL/MariaDB version check

To handle properly user management, version check needed refacto, as well as the query used to get existing password hash

* mysql_user: break long query in multiple lines

* mysql_user: fix query fetch existing password hash

* mysql_user: MariaDB version check 100.2 != 10.2

* mysql_user: fix existing password fetch

In some cases, both columns (Password and authentication_string) may exist and be populated.
In other cases one exist, but not the second.
This fix should handle properly all situations

* mysql_user: break long queries

* mysql_user: refactor duplicated code

* mysql_user: handle updates from root with empty passwd to new passwd

* mysql_user: GC debug statement and readd trailing new line

* mysql_user: fix pep8 under indentation

* mysql_user: fix privileges management
https://github.com/ansible/ansible/pull/45355#issuecomment-428200244

* mysql_user: raise exception if exception caught doesn't match the one that is managed

* mysql_user: improve plugins output (add msg field with explicit informations)

* mysql_user: fix old / new password hash comparison

* mysql_user: fix reference to old MySQLdb lib

* mysql_user: fix cursor when root password is left empty (mysql DB invisible)

* mysql_user: add changelog

* ALL privileges comparison

* fixed blank line

* added mysql 8 fixes

* fixed version compatibility

* mysql_user: fix MySQL/MariaDB version check

To handle properly user management, version check needed refacto, as well as the query used to get existing password hash

* mysql_user: break long query in multiple lines

* mysql_user: fix query fetch existing password hash

* mysql_user: MariaDB version check 100.2 != 10.2

* mysql_user: fix existing password fetch

In some cases, both columns (Password and authentication_string) may exist and be populated.
In other cases one exist, but not the second.
This fix should handle properly all situations

* mysql_user: break long queries

* mysql_user: refactor duplicated code

* mysql_user: handle updates from root with empty passwd to new passwd

* mysql_user: GC debug statement and readd trailing new line

* mysql_user: fix pep8 under indentation

* mysql_user: fix privileges management
https://github.com/ansible/ansible/pull/45355#issuecomment-428200244

* mysql_user: raise exception if exception caught doesn't match the one that is managed

* mysql_user: improve plugins output (add msg field with explicit informations)

* mysql_user: fix old / new password hash comparison

* mysql_user: fix reference to old MySQLdb lib

* mysql_user: fix cursor when root password is left empty (mysql DB invisible)

* mysql_user: add contrib

* Rename changelogs/fragments/45355-mysql_user-fix-versions-compatibilities to add YML extension
2019-04-09 16:26:45 +01:00
..
cli Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
compat Have update-bundled check for updates to all bundled code 2019-02-06 13:59:55 -08:00
config Renaming azure_rm_managed_disk for consistency (#54825) 2019-04-04 12:24:03 +08:00
errors Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-23 11:32:25 -05:00
executor Don't pollute include_variables (#54687) 2019-04-09 10:14:42 -05:00
galaxy Update galaxy cli metadata file templates (#51398) 2019-02-22 00:54:02 -05:00
inventory Strip whitespace when reading limit file (#53564) 2019-03-18 12:40:45 -04:00
module_utils Initial commit for Oracle Cloud Infrastructure modules (#53156) 2019-04-09 07:59:31 -04:00
modules mysql_user: fix compatibility issues with various MySQL/MariaDB versions (#45355) 2019-04-09 16:26:45 +01:00
parsing Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
playbook Don't pollute include_variables (#54687) 2019-04-09 10:14:42 -05:00
plugins Don't pollute include_variables (#54687) 2019-04-09 10:14:42 -05:00
template Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
utils Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
vars fixes for stripping (#52930) 2019-03-12 18:18:38 -04:00
__init__.py
constants.py Fine tune sanity (#53544) 2019-03-11 15:12:14 -04:00
context.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
release.py Update Ansible release version to v2.8.0a1.post0. 2019-04-04 17:59:06 -07:00