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 aa66391f83
feat: add support for uploading custom themes
This commit now allows instance admins to:

- upload custom themes from their Ansible controller
to the themes directory of their Pleoma instance.
- set the default theme for their Pleroma instance.

This commit also contains the following changes:

- explicitly set the background image if not set by the user.
- explicitly set the default theme if not set by the user.
2020-02-22 19:39:18 +00:00

61 lines
1.5 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"
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"