A Ansible playbook for installing Mastodon
Go to file
staticsafe 6f503dedfe Run assets precompile before database setup
This is so that if the precompile is killed due to OOM, you can just restart the playbook without needing to change the database
name in .env.production as it isn't created yet.
2017-11-27 11:55:32 -05:00
roles Run assets precompile before database setup 2017-11-27 11:55:32 -05:00
LICENSE Initial commit 2017-11-24 11:52:16 -05:00
README.md Add requirements to README.md 2017-11-27 08:39:01 -05:00
site.yml We no longer need the mastodon-webpush role, removed. 2017-11-26 22:36:49 -05:00

README.md

mastible

An Ansible playbook to install Mastodon

Requirements

  • Latest stable version of Ansible (this was tested with Ansible 2.4)
  • Server(s) running Ubuntu 16.04 LTS for hosting Mastodon

Instructions for running this playbook

  • Copy roles/mastodon-config/templates/.env.production.sample to roles/mastodon-config/templates/.env.production, edit with all relevant details. (SMTP details are probably the only required one, the others you can leave be)
  • Make a hosts file that looks like this (Make sure that the nodename here is the domain/sub-domain you want for your Mastodon instance, we use it as a variable):
[mastodon]
dev.example.social
  • Run the playbook with ansible-playbook -i hosts site.yml