mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
keep trying
This commit is contained in:
parent
c32ee40f92
commit
3a0207afda
2 changed files with 6 additions and 4 deletions
|
@ -34,19 +34,21 @@
|
||||||
msg: "{{ downloads_dir }}/mediawiki.tar.gz is REQUIRED in order to install mediawiki."
|
msg: "{{ downloads_dir }}/mediawiki.tar.gz is REQUIRED in order to install mediawiki."
|
||||||
when: not mediawiki_link.stat.exists
|
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:
|
unarchive:
|
||||||
src: "{{ downloads_dir }}/mediawiki.tar.gz"
|
src: "{{ downloads_dir }}/mediawiki.tar.gz"
|
||||||
dest: "{{ mediawiki_install_path }}"
|
dest: "{{ mediawiki_install_path }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ apache_user }}"
|
group: "{{ apache_user }}"
|
||||||
mode: 0664
|
mode: 0755
|
||||||
keep_newer: yes
|
keep_newer: yes
|
||||||
|
|
||||||
- name: Create link mediawiki to version
|
- name: Create link mediawiki to version
|
||||||
file:
|
file:
|
||||||
src: "{{ mediawiki_install_path }}/mediawiki-{{ mediawiki_major_version }}{{ mediawiki_minor_version }}"
|
src: "{{ mediawiki_install_path }}/mediawiki-{{ mediawiki_major_version }}{{ mediawiki_minor_version }}"
|
||||||
dest: "{{ mediawiki_abs_path }}"
|
dest: "{{ mediawiki_abs_path }}"
|
||||||
|
owner: root
|
||||||
|
group: "{{ apache_user }}"
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
# - name: Rename /library/mediawiki* to /library/mediawiki
|
# - name: Rename /library/mediawiki* to /library/mediawiki
|
||||||
|
|
|
@ -25,10 +25,10 @@ $wgSitename = "{{ mediawiki_site_name }}";
|
||||||
## For more information on customizing the URLs
|
## For more information on customizing the URLs
|
||||||
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
|
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
|
||||||
## https://www.mediawiki.org/wiki/Manual:Short_URL
|
## 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
|
## 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.)
|
## The URL path to static resources (images, scripts, etc.)
|
||||||
$wgResourceBasePath = $wgScriptPath;
|
$wgResourceBasePath = $wgScriptPath;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue