Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukehoersten/pleroma-ansible-roles
Pleroma Ansible roles (copy of https://src.nth.io/ansible-roles/file/tip/pleroma)
https://github.com/lukehoersten/pleroma-ansible-roles
ansible ansible-roles fediverse pleroma
Last synced: 3 months ago
JSON representation
Pleroma Ansible roles (copy of https://src.nth.io/ansible-roles/file/tip/pleroma)
- Host: GitHub
- URL: https://github.com/lukehoersten/pleroma-ansible-roles
- Owner: lukehoersten
- Created: 2019-01-19T17:24:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T19:52:39.000Z (almost 2 years ago)
- Last Synced: 2024-04-13T13:53:58.521Z (9 months ago)
- Topics: ansible, ansible-roles, fediverse, pleroma
- Language: Jinja
- Homepage: https://src.nth.io/ansible-roles/file/tip/pleroma
- Size: 55.7 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pleroma Ansible Roles
This project is a collection of [Ansible](http://ansible.com) roles designed to install one or
more [Pleroma](https://pleroma.social) instances behind an [Nginx](http://nginx.org) reverse proxy.## Example Playbook
The following example configures two Pleroma instances on one host and uses an Nginx reverse proxy to route based on
domain name. The second site is optional.```yaml
- hosts: pleroma
roles:
- role: pleroma
pleroma_user: "pleroma_example"
pleroma_link_host: "example.social"
pleroma_port: 4000
pleroma_signup_open: "true"- hosts: pleroma
roles:
- role: pleroma
pleroma_user: "pleroma_test"
pleroma_link_host: "test.social"
pleroma_port: 4001
pleroma_signup_open: "true"
```## Example Ansible Vars
The following variables would go into Ansible `group_vars`, for example, and connects to an AWS RDS PostgreSQL database.
```yaml
nginx_conf_src: "roles/pleroma/templates/pleroma.nginx.conf.j2"
nginx_enable_ssl: Yes
nginx_server_name: "{{pleroma_link_host}}"pleroma_link_scheme: "https"
pleroma_db_host: "pleroma.123123.us-east-1.rds.amazonaws.com"
pleroma_db_passwd: "pleDbPass123"
pleroma_db_superpass: "dbpass123"
pleroma_secret_key: "secret123"
```