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'
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"
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'
pleroma_download_url : "https://git.pleroma.social/api/v4/projects/2/jobs/artifacts/stable/download?job={{pleroma_arch}}"
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"]'
2021-11-14 14:56:49 +01:00
pleroma_soapbox : false
2022-03-01 21:03:01 +01:00
pleroma_soapbox_version : "develop"
2022-11-09 03:23:38 +01:00
pleroma_soapbox_download_url : "https://gitlab.com/soapbox-pub/soapbox/-/jobs/artifacts/{{ pleroma_soapbox_version }}/download?job=build-production"
2021-11-14 14:56:49 +01:00
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'
2021-11-14 14:56:49 +01:00
#soapbox
2022-03-01 21:03:01 +01:00
pleroma_soapbox_logo : '/images/logo.png'
2021-11-14 14:56:49 +01:00
pleroma_soapbox_brandcolor : '#0482d8'
pleroma_soapbox_promopanel :
- text : 'Our Site stats'
icon : 'area-chart'
url : 'https://fediverse.network/example.com'
- text : 'Our Site blog'
icon : 'comment-o'
url : 'https://blog.example.com'
pleroma_soapbox_gif : 'false'
pleroma_soapbox_thememode : 'light'
pleroma_soapbox_copyright : '♡2020. Copying is an act of love. Please copy and share.'
pleroma_soapbox_footer :
- name : 'About'
url : '/about'
- name : 'Terms of Service'
url : '/about/tos'
- name : 'Privacy Policy'
url : '/about/privacy'
- name : 'Source code'
url : '/about#opensource'
2021-11-16 10:55:25 +01:00
pleroma_soapbox_redirects : 'false' #set to true if you want to redirect footer page links to another site
#pleroma_soap_about: 'https://example.com/about'
#pleroma_soap_tos: 'https://example.com/tos'
#pleroma_soap_pp: 'https://example/pp'
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'