Commits

Anonymous committed ceebcda

Added play and config for creating default databases

Comments (0)

Files changed (2)

playbooks/mysql-server.yml

       - vivo:
         password: "vivo"
         priv: "vivo.*:ALL"
+    mysql_databases:
+      - vivo
 
   tasks:
     - include: mysql/tasks/setup.yml

playbooks/mysql/tasks/databases.yml

+---
+- name: MySQL | Setup Databases
+  action: mysql_db db="${item.key}" state=present
+  with_items: $mysql_databases