HomePhabricator

Add Ansible playbook for Toolforge deployment

Tags
None
Referenced Files
None
Subscribers
None

Description

Add Ansible playbook for Toolforge deployment

This Ansible playbooks takes care of:

  • Ensuring various directories exist, which follow the default layout [1]
  • Checking out the latest code from Git repository
  • Setting up crontabs (in the no-so-right places)

It unfortunately does not install/update the Python requirements,
as this needs to be done in a Kubernetes shell, which apparently
only works in interactive mode.

[1] https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web#Python_(uWSGI)

Details

Provenance
JeanFredAuthored on Jul 29 2019, 10:10 AM
Parents
R2566:728a8d2188d7: Fix directory excludes in tox configuration
Branches
Unknown
Tags
Unknown
References
ansible-deployment
ChangeId
None