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/examples/host_vars/pleroma-01.yml

195 lines
6.7 KiB
YAML
Raw Permalink Normal View History

---
# TODO: In init role fail playbook if secrets are empty
pleroma:
config:
# field name - pleroma.config.email
# description -
# The email address of the instance administrator (you).
# This should be your personal or organisational email.
# default value - admin@localhost
email: &email admin@localhost
# field name - pleroma.config.host
# description - The sub(domain) of your Pleroma instance.
# default value - pleroma.localhost
host: pleroma.example.com
# field name - pleroma.config.notifyEmail
# description - The email used for notifications.
# default value - no_reply@pleroma.localhost
#notifyEmail: no_reply@pleroma.example.com
# field name - pleroma.config.listeningPort
# description - The port number that Pleroma will bind to.
# default value - 4000
#listeningPort: 4000
# field name - pleroma.config.instanceName
# description - The name of your Pleroma instance.
# default value - "Ansible Pleroma"
instanceName: "My Instance's Name"
# field name - pleroma.config.instanceDescription
# description - The description of your Pleroma instance.
# default value - "A new single instance of Pleroma"
instanceDescription: "My Instance's Description"
# field name - pleroma.config.characterLimit
# description - The character limit for each post.
# default value - 5000
#characterLimit: 5000
# field name - pleroma.config.registrationsOpen
# description - If set to "true" this allows anyone to register on your instance.
# default value - "false"
#registrationsOpen: "false"
# TODO: This needs to be updated
# field name - pleroma.config.
# description -
# default value -
#dynamicConfiguration: "false"
# field name - pleroma.config.healthCheck
# description - Show system data at /api/pleroma/healthcheck if set to "true".
# default value - "false"
#healthCheck: "false"
# field name - pleroma.config.remotePostRetentionDays
# description - The default amount of days to retain remote posts when pruning the database.
# default value - 90
#remotePostRetentionDays: 90
# field name - pleroma.config.logLevel
# description - Sets the log level of the Pleroma application.
# default value - info
#logLevel: info
# field name - pleroma.config.federating
# description - Enable federation with other instances if set to "true".
# default value - "true"
#federating: "true"
# field name - pleroma.config.chatEnabled
# description - Enable the chat window if set to "true".
# default value - "true"
#chatEnabled: "true"
# field name - pleroma.config.secretKeyBase
# description -
# This is used to configure the secret_key_base in Pleroma.
# It is used to sign and verify cookies.
# To generate this run 'make secret_key_base'
2020-03-30 08:34:51 +01:00
# The playbook will fail if this field is empty.
secretKeyBase:
# field name - pleroma.config.signingSalt
# description -
# This is used to configure the signing_salt in Pleroma.
# It is used with the secret_key_base to generate a key for signing and verifying cookies.
# To generate this run 'make signing_salt'
2020-03-30 08:34:51 +01:00
# The playbook will fail if this field is empty.
signingSalt:
2020-03-30 08:34:51 +01:00
# This section configures the... TODO
mrf:
simplePolicy:
#reject: []
#federatedTimelineRemoval: []
#mediaRemoval: []
#mediaNsfw: []
#reportRemoval: []
# This section configures the Pleroma frontend.
frontend:
# field name - pleroma.config.frontend.background
# default value - This field is empty by default
# description -
# The path on the Ansible controller to the image
# that will be uploaded to your Pleroma instance and
# used as the default background image.
#background: /path/to/your/background/image
themes:
# field name - pleroma.config.frontend.themes.custom
# default value - An empty list
# description - A list of names and corresponding paths of your custom themes
#custom:
#- name: custom-theme-1
# path: /file/path/to/custom/theme1
#- name: custom-theme-2
# path: /file/path/to/custom/theme2
# field name - pleroma.config.frontend.themes.default
# default value - pleroma-dark
# description -
# The default theme for your instance.
# You can specify one of the default themes or even
# one of your custom theme.
#default: custom-theme-1
webPushEncryption:
2020-03-30 08:34:51 +01:00
# field name - pleroma.config.webPushEncryption.email
# description -
email: *email
2020-03-30 08:34:51 +01:00
# field name - pleroma.config.webPushEncryption.privateKey
# description -
2020-03-30 08:34:51 +01:00
# This is the private key to enable browser notifications using VAPID.
# To generate this run 'make vapid_private_key'
# The playbook will fail if this field is empty.
privateKey:
2020-03-30 08:34:51 +01:00
# field name - pleroma.config.webPushEncryption.publicKey
# description -
2020-03-30 08:34:51 +01:00
# The playbook will fail if this field is empty.
publicKey:
db:
2020-03-30 08:34:51 +01:00
# field name - pleroma.config.db.password
# description -
# The password to the Pleroma database.
# The playbook will fail if this field is empty.
password:
2020-03-30 08:34:51 +01:00
# field name - pleroma.config.db.name
# description - The name of the Pleroma database.
# default value - pleroma_db
#name: pleroma_db
2020-03-30 08:34:51 +01:00
# field name - pleroma.config.db.user
# description - The name of the database user.
# default value - pleroma
#user: pleroma
2020-03-30 08:34:51 +01:00
# field name - pleroma.config.db.connLimit
# description - The number of allowed concurrent connections to the database.
# default value - 15
#connLimit: 15
ssl:
#csr:
# countryName: ""
# emailAddress: "{{ pleroma.config.email }}"
# localityName: ""
# organizationName: ""
# organizationUnitName: ""
# stateOrProvinceName: ""
letsEncrypt:
enable: false
2020-03-30 08:34:51 +01:00
#acmeAccountEmail: *email
#acmeDirectory: "https://acme-v02.api.letsencrypt.org/directory"
#termsAgreed: yes
#validateCerts: true
keybase:
2020-03-30 08:34:51 +01:00
# field name - pleroma.keybase.enable
# default value - false
# description -
# If set to true the playbook will upload your keybase text file and
# configure Nginx in order to prove your Keybase identity against your
# Pleroma instance.
enable: false
proof:
2020-03-30 08:34:51 +01:00
# field name - pleroma.keybase.proof.filepath
# default value - ${HOME}/keybase.txt
# description - The file path to your keybase text file on your Ansible controller.
#filepath: "{{ lookup('env','HOME') }}/keybase.txt"