From 3928d6e6d38b7f0c0a00b00ad312cfbcbc3db3ba Mon Sep 17 00:00:00 2001
From: Trygve Laugstøl <trygvis@inamo.no>
Date: Wed, 15 Aug 2018 13:30:48 +0200
Subject: o Symlinking maintenance/ into smw installation so the maintenance
 scripts work.

---
 ansible/roles/mw-backend/tasks/main.yml | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'ansible/roles/mw-backend')

diff --git a/ansible/roles/mw-backend/tasks/main.yml b/ansible/roles/mw-backend/tasks/main.yml
index 9db9be9..39fd44c 100644
--- a/ansible/roles/mw-backend/tasks/main.yml
+++ b/ansible/roles/mw-backend/tasks/main.yml
@@ -144,6 +144,13 @@
       with_items:
         - SemanticMediaWiki
         - SemanticResultFormats
+    - name: symlink maintenance into smw
+      file:
+        state: link
+        dest: "/opt/mediawiki/semantic-media-wiki/maintenance"
+        src: "/var/lib/mediawiki/maintenance"
+        owner: root
+        group: root
     - name: composer config
       copy:
         src: opt/mediawiki/semantic-media-wiki/composer.json
-- 
cgit v1.2.3