Commit graph

16 commits

Author SHA1 Message Date
8db0186fec
feat: support for proving your site with Keybase.
This commit adds support for uploading the site
owner's keybase.txt file onto their Pleroma server
so that Keybase can prove that they are the owner
of their site. This is diabled by default but can
be enabled by the user.

Resolves dananglin/pleroma-ansible-playbook#1
2019-11-08 05:55:25 +00:00
42904fbaa4
refactor: Let's Encrypt location block
Removed the 'blockinfile' task and added the
location block for Let's Encrypt in the Nginx
config template. This bloc will be rendered if
Let's encrypt support is enabled.

Part of dananglin/pleroma-ansible-playbook#1
2019-11-06 22:52:46 +00:00
6f5dbdbbe4
fix: add common play to site playbook
- Added missing play for the common role
- Updated common role. Verbose logging for SSHd.
- Updated Makefile. Added a rule for generating
the Vapid keypair together.
2019-11-03 05:24:12 +00:00
76aa2030fb
final cleanup before production deployment
Removed host_vars folder and added inventories folder.
This is to support the suggested 'Alternative Directory Layout'
in the upstream Ansible documentation.

Removed hosts.yml. This may be added in the upcoming
examples directory.
2019-11-02 19:34:30 +00:00
02b1dead38
chore: updated common role 2019-11-02 19:00:54 +00:00
48e9a3d76c
feat: integrating the common role project 2019-11-01 18:19:44 +00:00
317adf3931
fix: inconsistencies while setting the SSL cert.
When running the pleybook more than once the
ssl_certificate_key line was being overwritten
by the 'lineinfile' tasks because the regular
expression was too greedy. This merge request
uses a stricter regular expression to indentify
and update the ssl_certificate line in the Nginx
configuration.
2019-10-26 23:56:35 +01:00
b03c997960
change: add a site playbook to the project.
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.
2019-10-24 22:51:53 +01:00
ebba1a1248
added: support for generating SSL certs from Let's Encrypt. 2019-10-24 00:22:13 +01:00
2cb1891456
changed: reduced default connection limit to 15
Reduced default connection limit to the pleroma database to 15.
This parameter is now configurable.
2019-10-15 09:26:13 +01:00
b0ddbc30ad
added: configuration for Pleroma
This merge request adds the template file and default variables for
configuring Pleroma.
Also included in this merge request are:

- added: Makefile to produce the secret key base, signing salt and the
public and private keys for web encryption.
- fixed: Pleroma OTP builds are now downloaded from the stable branch.
- changed: removed data from the pleroma task and added them in the
variable directory.
2019-10-15 09:16:24 +01:00
f293d06c78
added: overriding postgresql configuration 2019-10-08 18:25:24 +01:00
53648b4a22
change: define pleroma variable as a dictionary 2019-10-07 21:28:53 +01:00
dde9b88088
feat: set up pg_hba.conf 2019-10-04 00:49:12 +01:00
a25aecbd72 chore: added MIT License. 2019-10-02 00:39:57 +00:00
684191060c
initial commit 2019-10-02 01:31:38 +01:00