1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

keep trying

This commit is contained in:
Tim Moody 2018-03-21 08:23:01 -04:00
parent c32ee40f92
commit 3a0207afda
2 changed files with 6 additions and 4 deletions

View file

@ -34,19 +34,21 @@
msg: "{{ downloads_dir }}/mediawiki.tar.gz is REQUIRED in order to install mediawiki."
when: not mediawiki_link.stat.exists
- name: "Unpack download to permanent location - owner: root, group: {{ apache_user }}, mode: 0664, keep_newer: yes"
- name: Unpack download to permanent location
unarchive:
src: "{{ downloads_dir }}/mediawiki.tar.gz"
dest: "{{ mediawiki_install_path }}"
owner: root
group: "{{ apache_user }}"
mode: 0664
mode: 0755
keep_newer: yes
- name: Create link mediawiki to version
file:
src: "{{ mediawiki_install_path }}/mediawiki-{{ mediawiki_major_version }}{{ mediawiki_minor_version }}"
dest: "{{ mediawiki_abs_path }}"
owner: root
group: "{{ apache_user }}"
state: link
# - name: Rename /library/mediawiki* to /library/mediawiki

View file

@ -25,10 +25,10 @@ $wgSitename = "{{ mediawiki_site_name }}";
## For more information on customizing the URLs
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
## https://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath = "/modules/wikem";
$wgScriptPath = "{{ mediawiki_abs_path }}";
## The protocol and server name to use in fully-qualified URLs
$wgServer = "http://{{ iiab_hostname }}.{{ iiab_domain }}";
#$wgServer = "http://{{ iiab_hostname }}.{{ iiab_domain }}";
## The URL path to static resources (images, scripts, etc.)
$wgResourceBasePath = $wgScriptPath;