Michael DeHaan
8147cf9915
Merge pull request #2786 from dirkcuys/patch-1
...
Fix bug causing mysqldump to fail
12 years ago
Alex Quach
c0fecbfaeb
Escape MySQL db names.
12 years ago
Dirk Uys
e319375bde
Fix bug causing mysqldump to fail
12 years ago
Jeffrey Chu
0f4bded9d5
mysql_db: use --password= instead of -p in dump/import
12 years ago
Lorin Hochstein
a199f97600
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
12 years ago
Lorin Hochstein
866a7254fb
Document mysql_(user,db) login_unix_socket option
...
mysql_user and mysql_db both take a login_unix_socket option.
This patch adds docs that describe how to use it.
12 years ago
Peter Janes
accfff0c66
Use login_host for import and dump operations
12 years ago
asad-at-srt
2e6cc96eef
Update mysql_db
...
The target parameter is not required, the DOCUMENTATION section was in error.
12 years ago
Mark Theunissen
865de1999b
Adding back support for pass=
12 years ago
Till Maas
2e904ae233
mysql_db/user: Use password for my.cnf
...
According to the MySQL docs[0] the password should be stored after
'password=' instead of 'pass='.
[0] http://dev.mysql.com/doc/refman/5.1/en/password-security-user.html
12 years ago
Blair Zajac
6d5991aa4c
Simplify and correct comparisons with None.
12 years ago
Daniel Hokka Zakrisson
f16ab9169c
Python 2.4 fixes for modules
12 years ago
Daniel Hokka Zakrisson
74679a5f4b
Correct name is login_user
...
Fixes #1848 .
12 years ago
Jan-Piet Mens
d184f72aa9
DOCUMENTATION strings
12 years ago
Michael DeHaan
6f6559670f
chmod -x for all module files in source checkout
12 years ago
Yvan Cottyn
89070a415a
Fix exception catching for Python 2.4
12 years ago
Jan-Piet Mens
d069c57974
Reformat code: examples consistently
...
- added terse syntax to modules.rst
- added description of special variables to template module
12 years ago
Aurélien Bondis
b51948e111
fix issue with mysql authentication and states not dump or import
12 years ago
Aurélien Bondis
b6c5140ca7
mysql_db: use the database to test connexion, added dump and import state - requires target=path/to/a/file
12 years ago
Jan-Piet Mens
c78a0a4a49
Jumbo DOCUMENTATION patch
12 years ago
Marco Vito Moscaritolo
c3f37fae87
Fixed doc string
12 years ago
Marco Vito Moscaritolo
7416297548
Added DOCUMENTATION to musql_db module.
12 years ago
Ingo Gottwald
6f147bd0c1
Added login_unix_socket option to mysql_db module
12 years ago
Michael DeHaan
baacde6c74
Add encoding lines to python modules such that they can take unicode options if they are fed them, since the
...
AnsibleModule stuff no longer base64 encodes for simplicity and speed reasons.
12 years ago
Michael DeHaan
fe9a05f492
Module consistency and make daisy chaining work with invalid arguments detection.
12 years ago
Petros Moisiadis
6767accc2d
added extra arguments for database creation
...
mysql_db: added 'encoding' and 'collation' args
postgresql_db: added 'owner', 'template' and 'encoding' args
12 years ago
Mark Theunissen
f0a9902c25
Changing the parameter names to be consistent, and adding root user default with empty password, as per mysql standard
12 years ago
Mark Theunissen
7a3f64d4d7
Check file exists instead of relying on the exception. Leave the exception catch in, in case the file is deleted or some other issue crops up
12 years ago
Mark Theunissen
812711d530
Woops, missed the rest of them
12 years ago
Mark Theunissen
b51d6d9fca
Making the passwd parameter consistent
12 years ago
Mark Theunissen
894e4ff78a
Changing to read from a file pointer instead so that an exception is thrown if the file doesn't exist
12 years ago
Mark Theunissen
5ab81692d7
Change modules to use credentials in my.cnf if they are available
12 years ago
Mark Theunissen
b279f1aea2
Upgrading MySQL user module to new format
12 years ago
Mark Theunissen
0bad1e7de2
Upgrading to new shared module code
12 years ago
Mark Theunissen
887d3993c4
The MySQL modules
13 years ago