2021-11-14 14:56:49 +01:00
---
2022-03-01 21:03:01 +01:00
ansible_python_interpreter : 'python3'
pleroma_extra_files_path : '../files'
2021-11-14 14:56:49 +01:00
pleroma_user : 'pleroma'
pleroma_group : 'pleroma'
pleroma_tmp_dir : '/tmp/pleroma/'
pleroma_app_dir : '/opt/pleroma'
pleroma_apt_list :
- 'libmagic-dev'
- 'libtinfo5'
- 'git'
- 'build-essential'
- 'cmake'
- 'elixir'
- 'erlang-dev'
- 'erlang-nox'
- 'imagemagick'
- 'ffmpeg'
- 'libimage-exiftool-perl'
- 'unzip'
2021-11-16 10:55:25 +01:00
pleroma_host : "192.168.33.15"
2021-11-14 14:56:49 +01:00
pleroma_port : 4000
pleroma_scheme : "http"
2022-03-01 21:03:01 +01:00
pleroma_proxy_pass : "{{ pleroma_scheme }}://{{ pleroma_host }}:{{ pleroma_port }}"
2021-11-14 14:56:49 +01:00
2021-11-16 10:55:25 +01:00
pleroma_link_host : "192.168.33.15"
2021-11-14 14:56:49 +01:00
pleroma_link_port : "80"
pleroma_link_scheme : "http"
pleroma_https : 'false'
pleroma_config_dir : '/etc/pleroma'
2022-03-01 21:03:01 +01:00
pleroma_instance_name : "{{ pleroma_link_host }}"
2021-11-14 14:56:49 +01:00
pleroma_secret_key : 'CDPbJ/+rD8hd27Hcw8igvGwyIDoS/J1isK4noJOybqfCuNuW9GDm0QNiW7syrGsHQQkTTSkzSZkAlKTqdnUahQ==' #openssl rand -base64 64 | paste --delimiters '' --serial
pleroma_invites_enabled : 'false'
pleroma_desc : "A Pleroma fediverse instance."
pleroma_char_limit : 5000
pleroma_signup_open : "true"
pleroma_loglevel : ":debug"
2022-03-01 21:03:01 +01:00
pleroma_conf_from_db : 'true'
2021-11-16 10:55:25 +01:00
pleroma_allow_relay : 'true'
2023-01-04 00:21:10 +01:00
pleroma_nickname_format : 'false'
2021-11-16 10:55:25 +01:00
pleroma_remote_post_retention : '90'
2021-11-14 14:56:49 +01:00
pleroma_db_host : "localhost"
pleroma_db_superuser : "postgres"
pleroma_db_passwd : 'changeme'
pleroma_db : "pleroma"
pleroma_db_user : "admin"
2023-01-11 00:15:59 +01:00
pleroma_data_dir : "/srv/pleroma_data"
2021-11-16 10:55:25 +01:00
pleroma_smtp : 'false'
pleroma_ldap : 'false'
2021-11-14 14:56:49 +01:00
pleroma_admin : 'true'
pleroma_admin_user : 'admin'
pleroma_admin_email : 'admin@example.lan'
pleroma_admin_password : 'changeme'
2023-01-04 00:21:10 +01:00
pleroma_download_url : 'https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-{{ pleroma_arch }}.zip' #akkoma
#pleroma_download_url: "https://git.pleroma.social/api/v4/projects/2/jobs/artifacts/stable/download?job={{pleroma_arch}}" #pleroma
2021-11-14 14:56:49 +01:00
pleroma_arch : 'amd64'
2022-03-01 21:03:01 +01:00
pleroma_nofile : '500000'
pleroma_instance_favicons : 'true'
pleroma_remoteip : 'true'
pleroma_proxies : '["192.168.33.15"]'
2022-04-30 22:09:08 +02:00
pleroma_custom_emoji : 'true'
pleroma_custom_emoji_list :
- name : 'blobbear'
url : 'https://labo.lacoloc.cafe/june/blobbears/raw/branch/master/manifest.json'
- name : 'blobcat'
url : 'https://fedi.absturztau.be/emoji-packs/manifest.json'
2023-01-04 00:21:10 +01:00
pleroma_frontends :
- name : 'mangane'
conf : 'primary'
ref : 'dist'
2023-03-04 10:43:25 +01:00
url : 'https://github.com/BDX-town/Mangane/releases/latest/download/static.zip'
2023-01-04 00:21:10 +01:00
- name : 'admin-fe'
conf : 'admin'
ref : 'develop'
- name : 'pleroma-fe'
conf : 'pleroma'
ref : 'develop'
2023-01-11 00:15:59 +01:00
# If you want to upload custom config files for frontends, specify below using the example
#pleroma_frontend_custom_configs:
# - name: 'mangane'
# filename: 'soapbox.json'
# confpath: 'static/instance/soapbox.json'
2021-11-16 10:55:25 +01:00
2021-11-14 14:56:49 +01:00
#Postgres
2022-03-01 21:03:01 +01:00
postgresql_version : 13
2021-11-14 14:56:49 +01:00
postgresql_listen_addresses :
- "127.0.0.1"
postgresql_pg_hba_default :
- { type: local, database: all, user : '{{ postgresql_admin_user }}' , address: '', method : '{{ postgresql_default_auth_method }}' , comment : '' }
- { type: local, database: all, user: all, address: '', method : '{{ postgresql_default_auth_method }}' , comment : '"local" is for Unix domain socket connections only' }
- { type: host, database: all, user: all, address: '127.0.0.1/32', method : '{{ postgresql_default_auth_method_hosts }}' , comment : 'IPv4 local connections:' }
postgresql_databases :
- name : pleroma
owner : admin # optional; specify the owner of the database
uuid_ossp : yes
postgresql_database_extensions :
- db : pleroma
extensions :
- citext
- pg_trgm
# hstore: no # flag to install the hstore extension on this database (yes/no)
#uuid_ossp: yes # flag to install the uuid-ossp extension on this database (yes/no)
#citext: yes # flag to install the citext extension on this database (yes/no)
postgresql_users :
- name : admin
pass : changeme
encrypted : yes # denotes if the password is already encrypted.
postgresql_user_privileges :
- name : admin # user name
db : pleroma # database
priv : "ALL" # privilege string format: example: INSERT,UPDATE/table:SELECT/anothertable:ALL
role_attr_flags : "" # role attribute flags
#NGINX SETUP
nginx_default_vhost_ssl : 'pleroma.example.lan'
nginx_default_vhost : 'pleroma.example.lan'
nginx_HSTS_policy : 'true'
#NGINX VHOST
nginx_vhosts :
- name : 'pleroma.example.lan'
template : 'pleroma'
upstream_proto : 'http'
2022-03-01 21:03:01 +01:00
upstream_port : '4000'
2021-11-14 14:56:49 +01:00
upstream_name : 'localhost'
2022-03-01 21:03:01 +01:00
upstream_maxfail : '5'
upstream_failtimeout : '60s'
proxycache_path : '/tmp/pleroma-media-cache'
proxycache_level : '1:2'
proxycache_keyzone : 'pleroma_media_cache:10m'
proxycache_maxsize : '10g'
2021-11-14 14:56:49 +01:00
proto : 'http'
listen : '80'
use_error_log : 'true'
nginx_error_log_level : 'warn'
redirect_https : 'true'
letsencrypt : 'false'
secure_site : 'false'
#header_sameorigin: 'true'
nc_max_upload : '50M'
nginx_HSTS_policy : 'false'
state : 'enable'