summaryrefslogtreecommitdiffstats
path: root/roles/mediawiki
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mediawiki')
-rw-r--r--roles/mediawiki/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/mediawiki/tasks/main.yml b/roles/mediawiki/tasks/main.yml
index 2a9f1da..96afba4 100644
--- a/roles/mediawiki/tasks/main.yml
+++ b/roles/mediawiki/tasks/main.yml
@@ -17,6 +17,9 @@
# TODO verify the signature when downloaded
+- mysql_db: name={{ wiki_db_name }} state=present
+- mysql_user: name={{ wiki_db_user }} password={{ wiki_db_password }} priv={{ wiki_db_name }}.*:ALL state=present
+
- set_fact: wiki_dir=/var/www/mediawiki/
- file: state=directory name={{ wiki_dir }}{{ item.path }} owner={{ item.owner }}