2017-11-24 16:52:16 +00:00
|
|
|
# mastible
|
|
|
|
An Ansible playbook to install Mastodon
|
2017-11-27 02:33:19 +00:00
|
|
|
|
|
|
|
## Instructions for running this playbook
|
|
|
|
|
|
|
|
- Copy group_vars/all.sample to group_vars/all, edit with your own instance's domain/sub-domain
|
|
|
|
- Copy roles/mastodon-config/templates/.env.production.sample to roles/mastodon-config/templates/.env.production, edit with all relevant details
|
2017-11-27 03:32:03 +00:00
|
|
|
(SMTP details are probably the only required one, the others you can leave be)
|
2017-11-27 02:33:19 +00:00
|
|
|
- Make a hosts file that looks like this:
|
|
|
|
|
|
|
|
```
|
|
|
|
[mastodon]
|
|
|
|
dev.example.social
|
|
|
|
```
|
|
|
|
- Run the playbook with `ansible-playbook -i hosts site.yml`
|