OpenTechStrategies / librehq-wikis

LibreHQ wikis: code related to wiki hosting at LibreHQ.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Make a new wiki via push-button #4

Open cecilia-donnelly opened 6 years ago

cecilia-donnelly commented 6 years ago

Currently @frankduncan has created a python script to create new wikis via MWFarm. We need to replace the python script with a call to an Ansible script. We expect the Ansible version to be based on the Python version.

Is there a python plugin to run Ansible?

Goal: pass arbitrary user, password, wikiname and create a new wiki.

Next is to rename/delete existing wikis (which Frank is looking into via python)

Note that passwords must be at least 8 characters (our first condition).

Ultimately we'll want also want an Ansible script for devs to use locally, so that the dev and prod processes aren't far away from each other.