Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/packetcat/mastible
An Ansible playbook to install Mastodon
https://github.com/packetcat/mastible
ansible mastodon playbook
Last synced: 18 days ago
JSON representation
An Ansible playbook to install Mastodon
- Host: GitHub
- URL: https://github.com/packetcat/mastible
- Owner: packetcat
- License: gpl-3.0
- Archived: true
- Created: 2017-11-24T16:52:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-02T15:46:56.000Z (over 2 years ago)
- Last Synced: 2024-05-16T21:04:02.937Z (7 months ago)
- Topics: ansible, mastodon, playbook
- Language: Shell
- Size: 104 KB
- Stars: 17
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ARCHIVED
THIS REPOSITORY WAS MOVED.
THE NEW REPOSITORY URL IS:
https://git.packetcat.ca/packetcat/mastible# mastible
An Ansible playbook to install Mastodon## Requirements
- Latest stable version of Ansible
- Server(s) running Ubuntu 16.04/18.04/20.04 LTS for hosting Mastodon## Testing status
Mastible was tested on 20/08/2020 with Ansible 2.9.12 running against
a Ubuntu 20.04 server.## Instructions for running this playbook (first time install)
- Copy group_vars/all.sample to group_vars/all and edit it to specify the
database name you wish to use with Mastodon. LOCAL_DOMAIN value is mandatory, it is your instance domain/sub-domain. **The PostgreSQL database role
will drop this database in preparation for Mastodon's database setup so make
sure this is not a database you are currently using**
- Copy roles/mastodon-config/templates/.env.production.sample to
roles/mastodon-config/templates/.env.production, edit with all
relevant details.
- Make a hosts file that looks like this:```
[mastodon]
dev.example.social
```
- Run the playbook with `ansible-playbook -i hosts --extra-vars='install=true' site.yml`## Instructions for using this playbook to update an existing instance
- Update version number in roles/mastodon-app/tasks/main.yml
- Run the playbook with `ansible-playbook -i hosts site.yml`
(**Note the lack of the install variable which is needed for installation related tasks**)