mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
there yet?
This commit is contained in:
parent
5179e053e0
commit
49082d811b
3 changed files with 8 additions and 8 deletions
|
@ -18,7 +18,7 @@ mediawiki_install: True
|
|||
mediawiki_enabled: True
|
||||
|
||||
mediawiki_install_path: "{{ content_base }}"
|
||||
mediawiki_abs_path: "{{ mediawiki_install_path }}/{{ mediawiki_src }}"
|
||||
mediawiki_abs_path: "{{ mediawiki_install_path }}/mediawiki-{{ mediawiki_version }}"
|
||||
|
||||
mediawiki_url: /mediawiki
|
||||
mediawiki_full_url: "http://{{ iiab_hostname }}.{{ iiab_domain }}/{{ mediawiki_url }}"
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
package: name={{ item }}
|
||||
state=present
|
||||
with_items:
|
||||
- {{ php_version }}-intl
|
||||
- {{ php_version }}-mbstring
|
||||
- "php{{ php_version }}-intl"
|
||||
- "php{{ php_version }}-mbstring"
|
||||
tags:
|
||||
- download
|
||||
|
||||
|
@ -58,9 +58,9 @@
|
|||
--pass={{ mediawiki_admin_user_password }}
|
||||
"{{ mediawiki_site_name }}"
|
||||
"{{ mediawiki_admin_user }}"
|
||||
args:
|
||||
chdir: "{{ mediawiki_abs_path }}"
|
||||
creates: "{{ mediawiki_abs_path }}/LocalSettings.php"
|
||||
args:
|
||||
chdir: "{{ mediawiki_abs_path }}"
|
||||
creates: "{{ mediawiki_abs_path }}/LocalSettings.php"
|
||||
|
||||
- name: Copy mediawiki config file
|
||||
template:
|
||||
|
@ -68,7 +68,7 @@
|
|||
dest: "{{ mediawiki_abs_path }}/LocalSettings.php"
|
||||
owner: root
|
||||
group: "{{ apache_user }}"
|
||||
mode: 0600
|
||||
mode: 0640
|
||||
|
||||
- name: Copy mediawiki httpd conf file
|
||||
template:
|
||||
|
|
|
@ -25,7 +25,7 @@ $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 = "{{ mediawiki_abs_path }}";
|
||||
$wgScriptPath = "{{ mediawiki_url }}";
|
||||
|
||||
## The protocol and server name to use in fully-qualified URLs
|
||||
#$wgServer = "http://{{ iiab_hostname }}.{{ iiab_domain }}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue