Create a database and user

This commit is contained in:
Oliver Davies 2019-01-22 20:07:32 +00:00
parent 8514f71030
commit 9e5db60b13

View file

@ -11,3 +11,16 @@
vars_files:
- vars/main.yml
tasks:
- name: Create a database
mysql_db:
name: drupal
state: present
- name: Add the database user
mysql_user:
name: drupal
password: drupal
priv: '*.*:ALL'
state: present