- Create a mysql database
- Wrapper around postgres_db ansible module
- see ./test.yml
- see ./defaults/main.yml
- include_role:
name: corpusops.roles/mysql_db
vars:
_cops_mysql_db:
db: "db1"
- include_role:
name: corpusops.roles/mysql_db
vars:
_cops_mysql_db:
db: "db2"
template: "db1"
- include_role:
name: corpusops.roles/mysql_db
vars:
_cops_mysql_db:
db: "db1"
become: false
login_host: foobar
login_user: "test"
login_password: "secret"