summaryrefslogtreecommitdiff
path: root/playbook.yaml
AgeCommit message (Collapse)Author
2024-01-08Ensure borgmatic config directory existsMatthew Fennell
This directory is created by a user command, not as part of the package installation process. Therefore, it may not exist if the user has not yet configured borgmatic on the host.
2024-01-08Simplify validation of borgmatic fileMatthew Fennell
This commit uses the simpler, more standard validate feature of template instead of triggering a handler. The feature is there - may as well use it!
2024-01-08Install borgmatic in the playbookMatthew Fennell
This commit adds borgmatic, to provide automated backups.
2024-01-07Assign prosody config files to prosody groupMatthew Fennell
The playbook previosuly assigned the prosody config files to the root group. With root as the owner, and permissions as 0640, this meant that prosody was not able to read the files. This commit fixes this.
2024-01-07Ensure certificates are installedMatthew Fennell
This commit ensures certificates are installed, via Lets Encrypt.
2024-01-07Only reload prosody if its configuration changesMatthew Fennell
There is no sense reloading prosody if none of its configuration files have changed. Therefore, this commit moves the reload to a handler that only gets triggered in this situation.
2024-01-07Add virtual host specific configMatthew Fennell
This commit uses the new per-host virtual_host variable to create the necessary prosody host-specific cfg files.
2024-01-07Install prosody config fileMatthew Fennell
This commit adds a prosody configuration file that can be installed on the remote hosts. This lets me make the configuration locally, deploy it to staging environments, and then to prod, without having to directly login to the hosts.
2024-01-07Open ports for OpenSSH, WWW and XMPPMatthew Fennell
This commit enables the necessary ports for XMPP, web hosting (to allow certbot to renew automatically) and SSH.
2024-01-07Add initial playbookMatthew Fennell
At present, the playbook simply ensures that all required packages are installed.