From ff8685267b46e18828967790f772f30e19275e7e Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 25 Feb 2018 08:25:40 +0100 Subject: wip --- ansible/roles/mw-backend/tasks/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'ansible/roles/mw-backend/tasks') diff --git a/ansible/roles/mw-backend/tasks/main.yml b/ansible/roles/mw-backend/tasks/main.yml index a60f08d..e3a0264 100644 --- a/ansible/roles/mw-backend/tasks/main.yml +++ b/ansible/roles/mw-backend/tasks/main.yml @@ -64,3 +64,24 @@ copy: src: etc/apache2/sites-enabled/000-default.conf dest: /etc/apache2/sites-enabled/000-default.conf + - name: mediawiki config + template: + src: etc/mediawiki/LocalSettings.php.j2 + dest: /etc/mediawiki/LocalSettings.php +# - name: directories +# file: +# state: directory +# path: "{{ item }}" +# owner: root +# group: root +# with_items: +# - /opt/mediawiki +# - /opt/mediawiki/images +# - name: www-data owned directories +# file: +# state: directory +# path: "{{ item }}" +# owner: www-data +# group: www-data +# with_items: +# - /opt/mediawiki/images/deleted -- cgit v1.2.3