2014-11-18 08:24:39 -05:00
|
|
|
---
|
2015-01-08 18:22:39 -05:00
|
|
|
- name: setup MySQL server + Python dependencies
|
|
|
|
apt: pkg={{ item }} state=present
|
|
|
|
with_items:
|
|
|
|
- mysql-server
|
|
|
|
- python-mysqldb
|
2014-11-18 08:24:39 -05:00
|
|
|
|
2015-01-08 18:22:39 -05:00
|
|
|
- name: setup MySQL databases for rookeries.
|
2015-03-24 08:10:20 -04:00
|
|
|
mysql_db: name={{ rookeries_db.db_name }} state=present
|
2014-11-18 08:24:39 -05:00
|
|
|
|
2015-01-08 18:22:39 -05:00
|
|
|
- name: add MySQL database users for rookeries.
|
2015-03-13 08:36:13 -04:00
|
|
|
mysql_user: name={{ rookeries_db.username }} password={{ rookeries_db.password }} priv={{ rookeries_db.db_name }}:ALL
|