||3 years ago|
|roles/plume||3 years ago|
|.gitignore||3 years ago|
|LICENSE||3 years ago|
|README.md||3 years ago|
|vars.yml||3 years ago|
A Ansible playbook to install and upgrade Plume. This role install Plume without reverse proxy, backup, or PostgreSQL and it needs to be used with PostgreSQL.
How to use it ?
First, you need to install Ansible. You need also make Ansible inventory... (French article : https://noskillbrain.fr/2017/10/18/ansible/ and https://www.cyphercat.eu/deploiement-et-automatisation-avec-ansible-partie-1/ ). After you need to clone this repo in your roles folder.
YOu need tip this command :
ansible-playbook -i hosts plume.yml
And that all, Plume is installed (or updated).
If you want a good Ansible Playbook for PostgreSQL, I recommand this : https://github.com/geerlingguy/ansible-role-postgresql
List of variables
|base_url||The domain name, or IP and port on which Plume is listening. It is used in all federation-related code.|
|domain||The domain of instance|
|licence||The default licence of each article|
|display_name||The name of admin|
|admin_name||The username of admin (for login)|
|admin_email||The email of admin|
|db_user||The postgresql user|
|db_password||The password of postgresql|
|db_name||The name of database|
|db_host||The postgresql host|
|db_port||The port of postgresql|
|rocket_address||The adress on which Plume should listen|
|rocket_port||The port on which Plume should listen (7878 by default)|
|rocket_secret_key||Key used to sign private cookies and for CSRF protection. If it is not set, it will be regenerated everytime you restart Plume, meaning that all your users will get disconnected. You can generate one with
|mail_server||The SMTP server to connect to.|
|mail_user||The username of the user that sends emails.|
|mail_helo_name||The name sent during EHLO/HELO.|