ansible/ansible — pull request #1288 by abondis (2012-10-11 03:04:45+00:00)
Title: mysql_db module add dump and import

* test mysql connection using the DB name given instead of 'mysql' (allows user to log and use the specified database but has no rights on 'mysql')
* added state 'dump' and 'import' with a target file to use

````
#will dump the db mydatabase to /tmp/mydatabase.sql
- mysql_db: state=dump name=mydatabase target=/tmp/
#will import the db /tmp/mydatabase.sql to mydatabase
- mysql_db: state=import name=mydatabase target=/tmp/
````