aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/mw-backend/tasks
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-08-15 13:30:48 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-08-15 13:30:48 +0200
commit3928d6e6d38b7f0c0a00b00ad312cfbcbc3db3ba (patch)
tree677b581ad65287cf8f9a40db6d4f4481672f9dbd /ansible/roles/mw-backend/tasks
parent8bd7498204621f44a2ac6ec3f72bbea2f4e381dd (diff)
downloadinfra-3928d6e6d38b7f0c0a00b00ad312cfbcbc3db3ba.tar.gz
infra-3928d6e6d38b7f0c0a00b00ad312cfbcbc3db3ba.tar.bz2
infra-3928d6e6d38b7f0c0a00b00ad312cfbcbc3db3ba.tar.xz
infra-3928d6e6d38b7f0c0a00b00ad312cfbcbc3db3ba.zip
o Symlinking maintenance/ into smw installation so the maintenance scripts work.
Diffstat (limited to 'ansible/roles/mw-backend/tasks')
-rw-r--r--ansible/roles/mw-backend/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
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