There should be some decent way to work with mysql databases using ansible like inserting data into tables or any command to run on mysql db.
I know there are modules to create db, manage replications, user and variables:
mysql_db
- Add or remove MySQL databases from a remote host.mysql_replication
(E) - Manage MySQL replicationmysql_user
- Adds or removes a user from a MySQL database.mysql_variables
- Manage MySQL global variables
My use case scenario is, I've installed mysql-server
on ubuntu and created the database successfully and now I have to insert data into the tables and wondering if there is a way to achieve it via ansible.