Create a database and user
This commit is contained in:
parent
8514f71030
commit
9e5db60b13
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue