mediawiki-provisioning
The Ansible playbook in this repository is intended for preparation of a lean and simple MediaWiki without any other installation steps necessary.
The supported target operating system is Debian as prepared with a reasonable
default installation for ssh-server
and all other options deselected. (See
preseed-file in this repository as an example.)
Find mirrors of this repository at gitlab and github.
Configure relevant hosts in inventory.properties
or your global
Ansible hosts file (if you haven't done so).
Be sure to have your ssh public key installed for the intended login user and this user may become root on the remote side.
As a second step create a copy of the sites/demo
folder and change the file
configuration.yml
as needed. Add and configure a logo and favicon. Also a
copy of a MediaWiki database file might be presented here, if you don't want to
start with the empty content set provided.
We rely on the role mediawiki
for all coremedia hosts.
Run with:
ansible-playbook -i inventory.properties setup.yml
or for any non-demo site
ansible-playbook -e site_name=mysite -i inventory.properties setup.yml
The only user present after installation of the provided database is demo
with a password demopassword
and a mail address of demo@my.domain
.
This playbook provides:
- MySQL
- PHP
- Apache httpd
- MediaWiki
for hosts in role mediawiki
.
Please use the issues section of this repository at github for feedback.
Repository Image: Ratfink1973@Pixabay