This repository has been archived on 2023-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
pleroma-ansible-playbook/roles/init/defaults/main.yml
Dan Anglin 4749bf323e
feat: add support for configuring MRF
This commit adds support for allowing instances
owners/admins to configure the simple
Message Rewrite Facility (MRF) policy with their
ansible-playbook configuration. With this they can
reject/restrict messages from a list of specified
instances.

Further documentation:
https://docs.pleroma.social/mrf.html#content

This resolves dananglin/pleroma-ansible-playbook#4
2020-02-25 19:32:42 +00:00

68 lines
1.7 KiB
YAML

---
pleroma_defaults:
config:
email: admin@localhost
notifyEmail: no_reply@{{ pleroma.config.host }}
host: pleroma.localhost
listeningPort: 4000
instanceName: "Ansible Pleroma"
instanceDescription: "A new single instance of Pleroma"
characterLimit: 5000
registrationsOpen: "false"
dynamicConfiguration: "false"
healthCheck: "true"
remotePostRetentionDays: 90
logLevel: info
federating: "true"
mrf:
simplePolicy:
reject: []
federatedTimelineRemoval: []
mediaRemoval: []
mediaNsfw: []
reportRemoval: []
frontend:
background: ""
themes:
custom: []
default: pleroma-dark
db:
name: pleroma_db
user: pleroma
connLimit: 15
postgresServer:
pg_hba:
- type: local
database: postgres
user: postgres
address: ""
method: peer
- type: local
database: "{{ pleroma.config.db.name }}"
user: postgres
address: ""
method: peer
- type: host
database: "{{ pleroma.config.db.name }}"
user: "{{ pleroma.config.db.user }}"
address: 127.0.0.1/32
method: md5
ssl:
csr:
countryName: ""
emailAddress: "{{ pleroma.config.email }}"
localityName: ""
organizationName: ""
organizationUnitName: ""
stateOrProvinceName: ""
letsEncrypt:
enable: false
acmeAccountEmail: "{{ pleroma.config.email }}"
acmeDirectory: "https://acme-v02.api.letsencrypt.org/directory"
remainingDays: 10
termsAgreed: no
validateCerts: true
keybase:
enable: false
proof:
filepath: "{{ lookup('env','HOME') }}/keybase.txt"