Dan Anglin
b03c997960
This merge request changes the project from a single role project to a single playbook project with multiple plays and roles. The single playbook has multiple plays with each having its own role to install and configure the different components to run Pleroma. (postgres database, pleroma backend and nginx). Certain playbooks can be executed by specifying the relevant tags. This change is the first of many changes to start supporting installations on both single and multiple hosts. This change includes also includes: - inventory file. - host_vars directory for users to add their variables. - an init playbook to merge the default and the user defined config for Pleroma. - users can now specify whether to validate certs when performing acme challenges (default: true). - more task templating.
51 lines
1.3 KiB
YAML
51 lines
1.3 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"
|
|
logLevel: info
|
|
federating: "true"
|
|
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
|