You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/database
Chao Luan 749e749c11 Remove extra quote from the mysqldump password argument
The mysqldb Ansible module will fail if the state specified is import or dump with a '1045: Access Denied' mysql error for complex passwords.

This is caused by the extra quote around the '--password' argument to mysqldump, as pipes.quotes already quotes the password string.

>>> "--password='%s'" % pipes.quote('simple')
"--password='simple'"

>>> "--password='%s'" % pipes.quote('c0mplexp@ssword!')
"--password=''c0mplexp@ssword!''"

>>> "--password='%s'" % pipes.quote('password with space')
"--password=''password with space''"
12 years ago
..
mongodb_user Add idempotency to mongodb_user module 12 years ago
mysql_db Remove extra quote from the mysqldump password argument 12 years ago
mysql_replication MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value 12 years ago
mysql_user Micro-optimization: replace s.find(x)!=-1 with x in s 12 years ago
mysql_variables Add support for string values 12 years ago
postgresql_db Added port documentation to postgresql_db and postgresql_user 12 years ago
postgresql_privs Don't use keyword `error` in encode 12 years ago
postgresql_user Bulk update of choices=BOOLEANS to type='bool' 12 years ago
redis Update comments about redis config. 12 years ago
riak Fixes various typos introduced in a9017af2bb. 12 years ago