2015-05-29 19:42:43 +02:00
|
|
|
---
|
|
|
|
#
|
|
|
|
# This playbook depends on the php-fpm, mysql role and nginx or apache2
|
|
|
|
#
|
|
|
|
mw_install_from_package: False
|
2017-04-10 17:21:51 +02:00
|
|
|
# We have some cases when we only want to install the dependencies and prepare the environment
|
|
|
|
mw_install_from_tar: True
|
2015-05-29 19:42:43 +02:00
|
|
|
mw_version: 1.25
|
|
|
|
mw_minor_minor: 1
|
|
|
|
mw_download_url: http://releases.wikimedia.org/mediawiki/{{ mw_version }}/mediawiki-{{ mw_version }}.{{ mw_minor_minor }}.tar.gz
|
|
|
|
mw_download_dir: /srv/mediawiki
|
|
|
|
mw_install_dir: /var/www
|
|
|
|
mw_conf_dir: /etc/mediawiki
|
|
|
|
|
|
|
|
mw_php_prereq:
|
|
|
|
- php5-intl
|
|
|
|
- php5-cli
|
|
|
|
- php5-mysqlnd
|
|
|
|
- php-apc
|
|
|
|
- php-pear
|
2015-08-05 19:14:03 +02:00
|
|
|
- php5-ldap
|
2015-05-29 19:42:43 +02:00
|
|
|
- imagemagick
|
2017-04-10 17:21:51 +02:00
|
|
|
- spawn-fcgi
|
|
|
|
- fcgiwrap
|
2015-05-29 19:42:43 +02:00
|
|
|
|
|
|
|
# This choice is not recommended. The package has a poor list of dependencies. We do not want to deal with those
|
|
|
|
mw_package:
|
|
|
|
- mediawiki
|
2015-06-19 15:47:32 +02:00
|
|
|
|