Skip to content

Installing Semantic Mediawiki with Ansible

Requirements:

  1. Use old mediawiki production database (upgrade?)
  2. Manage installation
  3. Manage upgrades
  4. Open Source (contribute back for other hackerspaces and other wikis)
  5. Manage backups
  6. Testable processes
  7. Automatically upgrade/configure/manage semantic mediawiki extension and other extensions

Requirements

  1. We want to use our old database.
  2. It would be nice to use semantic mediawiki.
  3. We should be able to upgrade and add extensions by redeploying the ansible playbook (idempotency retained)
  4. We should install all this stuff with composer

Questions

  • What RDBMS are we using now?
  • What WikiMedia version are we using now?
  • What WikiMedia extensions are we using now?
  • How does the wiki upgrade process work? Special Considerations?

Alternatives to our own ansible playbook

WikiMedia has an initiative to simplify wiki deployments called CloudVPS.

It is OpenStack powered infrastructure. We want to self-host, but might be able to use their images?

A Noisebridge Wiki Upgrade Plan

Patrick: "no more snowflakes"

Trent's Plan

  1. Use my servers.yml playbook as a base, available here.
  2. Add a premade playbook
  3. Make significant modifications to accomodate our needs

Hunting for a premade role

A google search for "ansible role semantic mediawiki" seemed promising and is summarized below.

There are probably more results available by trying more searches.

EMWCon Spring 2017

Found here: Using Ansible to create and manage a wiki/wiki farm examples.

BlueSpice Enterprise

This may be helpful to look over.

Some Random Playbooks/Roles

Failed: Ansible Galaxy

The playbooks I found here were incomplete and outdated, as usual.

Extra

  • ToolForge

    a hosting environment for developers working on services that provide value to the Wikimedia movement. These services allow developers to easily do ad hoc analytics, administer bots, run webservices, and generally create tools to help editors and other volunteers in their work. The environment also includes access to a variety of data services.

References