community.general/lib/ansible/modules
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
..
cloud Initial commit for Oracle Cloud Infrastructure modules (#53156) 2019-04-09 07:59:31 -04:00
clustering standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
commands Updated playbook works sample. (#51673) 2019-03-11 17:12:05 -05:00
crypto luks_device: add basic check mode (#54477) 2019-04-09 11:32:22 +02:00
database mysql_user: fix compatibility issues with various MySQL/MariaDB versions (#45355) 2019-04-09 16:26:45 +01:00
files Add a recurse example to file module docs (#54926) 2019-04-05 16:24:29 -05:00
identity FreeIPA: Fix ipa_user password option (#48453) 2019-03-11 15:44:06 +05:30
inventory utilities: Clean up parameter types and add seealso (#53063) 2019-03-07 00:25:59 +01:00
messaging standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
monitoring zabbix_action: Checking event source for 'pause_suppressed' parameter (#54951) 2019-04-08 04:43:27 -04:00
net_tools Allow Netbox device modification (#53631) 2019-04-07 15:47:11 +05:30
network Resolves handling of error and failure scenarios from Checkpoint module end (#54890) 2019-04-08 21:37:52 +05:30
notification standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
packaging redhat_subscription: Fix usage of ConfigParser (#54815) 2019-04-09 09:36:51 +02:00
remote_management hpilo: Handle connection error in hpilo_facts (#53952) 2019-04-09 04:36:53 -04:00
source_control Add Bitbucket Pipelines SSH key pair module (#54241) 2019-03-29 14:13:59 +01:00
storage Fix bug in purefa_volume that errors on volume create (#55039) 2019-04-09 09:29:18 -04:00
system ufw: fix default, direction is not necessary for it (#54799) 2019-04-08 08:49:35 -04:00
utilities correct example since per_host default is false (#54725) 2019-04-02 10:08:55 -04:00
web_infrastructure Fix handling of inventory and credential options for tower_job_launch (#54967) 2019-04-09 14:08:11 +01:00
windows win_nssm: fix typo in documentation (#54942) 2019-04-09 10:12:37 -05:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00