1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/library
Lorin Hochstein c9990b801e Strip quotes when parsing my.cnf
Remove leading/trailing single or double quotes when parsing the my.cnf
file in mysql_user and mysql_db.

Do this so that these modules parse the my.cnf file the same way that
the mysql client does.

From: http://dev.mysql.com/doc/refman/5.0/en/option-files.html

    You can optionally enclose the value within single quotation marks
    or double quotation marks, which is useful if the value contains a
    “#” comment character.

Fixes #2405
2013-03-25 09:53:04 -04:00
..
add_host For consistency, add host should take a key named 'name' in addition to 'hostname'. 2013-02-17 20:45:37 -05:00
apt Changed python interpreter to be consistent in these modules as compared to all others. 2013-03-19 16:07:36 +00:00
apt_key Update various modules for check_mode 2013-02-27 12:23:35 -08:00
apt_repository Update various modules for check_mode 2013-02-27 12:23:35 -08:00
assemble Remove choices=BOOLEANS as it is no longer needed 2013-02-23 22:57:36 +01:00
async_status do not conditionalize this for older Python, fix indentation, better use 2012-12-17 21:07:36 +01:00
async_wrapper chmod -x for all module files in source checkout 2012-11-19 13:47:40 -05:00
authorized_key * Minor removal of some dumb I did. 2013-02-02 18:17:18 -06:00
bzr Fix bzr module documentation, name is the primary attribute. 2013-03-17 11:53:27 -04:00
cloudformation Changed python interpreter to be consistent in these modules as compared to all others. 2013-03-19 16:07:36 +00:00
command Use relative creates/removes path with chdir 2013-02-28 14:47:19 -08:00
copy Restore force in copy since arguments are no longer clobbered 2013-03-14 11:27:49 +01:00
cron Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
debug Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
django_manage Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
easy_install Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
ec2 Merge pull request #2437 from hspencer77/additional-ec2-instance-attribute-support 2013-03-24 14:31:50 -07:00
ec2_facts Changed python interpreter to be consistent in these modules as compared to all others. 2013-03-19 16:07:36 +00:00
ec2_vol Changed python interpreter to be consistent in these modules as compared to all others. 2013-03-19 16:07:36 +00:00
facter Various cleanup to run_command 2013-01-13 11:24:21 -08:00
fail DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
fetch Update fetch documentation 2013-03-17 23:17:56 -04:00
file Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
fireball Log tracebacks to syslog when using fireball mode. 2013-03-01 18:24:48 -05:00
gem Fix --include-dependencies parameter on RubyGems >= 2.0.0 2013-03-16 06:01:02 -04:00
get_url Merge pull request #2273 from dorfsmay/pullreq-use_proxy 2013-03-10 16:10:45 -07:00
git Fixes for get_remote_head in git module 2013-03-20 14:28:06 -07:00
group Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
group_by Add a group_by action plugin. 2012-10-29 13:10:23 +01:00
hg Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
homebrew Add Homebrew module 2013-03-16 21:52:51 -04:00
ini_file Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
lineinfile disabled appending file with garbage when regexp didn't match. 2013-03-22 11:43:44 +01:00
lvg now using 'type=' for module parameters, replaced lambda with list comprehensions, simplyfied extend/reduce part of module, renamed dev parameter to pvs 2013-03-14 13:32:16 +04:00
lvol Add type casting to user/group modules, remove executable bit from other modules 2013-03-18 00:40:57 -04:00
macports Teach the macports module to activate/deactivate packages 2013-03-14 08:14:57 +00:00
mail mail module: properly set charset 2013-02-19 11:33:38 +01:00
mongodb_user 'make pep8' is now clean 2013-02-17 19:48:02 -05:00
mount add docs to mount module using LABEL and UUID 2013-03-05 12:13:36 -05:00
mysql_db Strip quotes when parsing my.cnf 2013-03-25 09:53:04 -04:00
mysql_user Strip quotes when parsing my.cnf 2013-03-25 09:53:04 -04:00
nagios Merge pull request #2430 from b6d/nagios-module-icingacfg 2013-03-17 07:02:13 -07:00
netscaler netscaler module initial commit 2013-03-06 15:32:01 +01:00
ohai Various cleanup to run_command 2013-01-13 11:24:21 -08:00
openbsd_pkg Add openbsd_pkg: package management for OpenBSD. 2013-03-03 00:01:02 +01:00
opkg Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
pacman Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
pause pause: Fix small documentation glitch 2013-02-20 15:17:49 +01:00
ping Working on complex argument support. 2013-02-17 15:01:49 -05:00
pip Fix broken virtualenv link in pip documentation. 2013-03-19 14:12:54 -04:00
pkgin Changed python interpreter to be consistent in these modules as compared to all others. 2013-03-19 16:07:36 +00:00
postgresql_db Add quotes around postgresql database name 2013-03-22 13:03:11 -07:00
postgresql_user Remove some tab/space issues in previous commits. 2013-02-26 20:30:33 -05:00
rabbitmq_parameter Fixup the rabbitmq YAML documentation so we can generate docs for it. 2013-03-01 19:47:43 -05:00
rabbitmq_plugin Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
rabbitmq_user Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
rabbitmq_vhost Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
raw Merge pull request #1798 from dagwieers/raw-executable 2013-01-08 08:35:08 -08:00
rhn_channel Minor consistency tweak, pwd => password 2013-03-24 16:43:03 -04:00
s3 Changed python interpreter to be consistent in these modules as compared to all others. 2013-03-19 16:07:36 +00:00
script Make script module use raw module so it does not require python 2012-12-24 00:24:34 +01:00
seboolean Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
selinux Update various modules for check_mode 2013-02-27 12:23:35 -08:00
service Merge pull request #2490 from szinck/devel 2013-03-24 14:45:07 -07:00
setup Added osrelease and osversion as well as changed the way sysctl is called on OSX 2013-03-15 15:58:45 +00:00
shell DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
slurp slurp: import base64 as module_common no longer does 2013-03-02 10:26:09 +01:00
subversion Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
supervisorctl Update various modules for check_mode 2013-02-27 12:23:35 -08:00
svr4pkg Update various modules for check_mode 2013-02-27 12:23:35 -08:00
sysctl Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
template Fixup template documentation so webdocs can generate. 2013-03-17 11:24:32 -04:00
uri Make URI module default to 30 seconds. 2013-03-17 23:16:45 -04:00
user rename user option nonunique tot non_unique 2013-03-14 17:21:57 +01:00
vagrant Changed python interpreter to be consistent in these modules as compared to all others. 2013-03-19 16:07:36 +00:00
virt virt module doc fix 2013-02-28 18:04:25 -08:00
wait_for removed env as per project policy 2012-11-27 11:18:46 -05:00
yum Teach the yum module to support --check mode. 2013-02-17 18:18:43 -05:00
zfs Added support for --check in zfs module 2013-02-22 15:01:18 +01:00