Role to deploy, configure and manage pleroma https://pleroma.social/
Go to file
meaz a008c07a03 Merge pull request 'Set Mangane config from role' (#15) from logo into main
Reviewed-on: #15
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
2023-11-28 20:16:18 +00:00
Playbooks initial commit 2021-11-14 14:56:49 +01:00
defaults add some info + mangane vars 2023-11-25 23:36:36 +01:00
files add or update logos 2023-11-25 17:15:33 +01:00
handlers enable systemd for pleroma 2023-11-25 17:15:58 +01:00
tasks add upgrade tag 2023-11-25 23:37:04 +01:00
templates add vars for mangane in config.exs.j2 2023-11-25 23:37:26 +01:00
.gitignore initial commit 2021-11-14 14:56:49 +01:00
LICENSE initial commit 2021-11-14 14:56:49 +01:00
README.md update readme 2023-11-25 23:36:14 +01:00
Vagrantfile add acl in vagrant file 2023-01-09 07:05:14 +01:00

README.md

Pleroma/Akkoma role

Pleroma/Akkoma role was initially based on role by (Luke Hoersten)[https://src.nth.io/ansible-roles/file/2d705e63f6cb/pleroma/otp] with heavy modifications (basically re-written).

This role deploys and updates OTP akkoma (default) or pleroma instance. Currently supported distributions are debian based. Role requires Disroot's (nginx)[https://git.disroot.org/Disroot-Ansible/nginx] role and (postgresql)[https://github.com/ANXS/postgresql.git]. Other nginx / postgres roles could be used but may require changes in variables.

You can deploy test instance using Vagrantfile attached to the role. vagrant up

ansible-playbook -b Playbooks/pleroma.yml

Then you can then access gitea from your computer on http://192.168.33.15

To update pleroma include upgrade tag.

Frontend

This role also deploys Mangane as the default frontend (this can be changed with pleroma_frontends var). Mangane can be configured in defaults/main.yml (See the # Mangane vars section).

⚠️ If you have already deployed Mangane and have changed config from http://192.168.33.15/soapbox/config then you have to first remove this config from DB with sudo -u pleroma /opt/pleroma/release/bin/pleroma_ctl config delete pleroma frontend_configurations. Then run the role with ansible-playbook -b Playbooks/pleroma.yml --tags upgrade

Customization

In the files folder, avi.png is the default user avatar. You can also changes logo that you can find there.

If you have already deployed but want to do any change, like change logo, avatar or a config, then run the role with ansible-playbook -b Playbooks/pleroma.yml --tags upgrade.