Slavi Pantaleev
1f1a3dfc38
Ensure database port is passed to Borg as an integer
Without this, it's a string and borg says:
> At 'hooks.postgresql_databases[INDEX_HERE].port': '5432' is not of type 'integer'
> /etc/borgmatic/config.yaml /etc/borgmatic.d /tmp/.config/borgmatic/config.yaml /tmp/.config/borgmatic.d: No valid configuration files found
.. and fails to do anything.
3 年前
Slavi Pantaleev
410a915a8a
Move roles/matrix* to roles/custom/matrix*
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
3 年前
Adriel Sand
949fdd0135
matrix-backup-borg: add ability to backup to unencrypted repositories ( #1754 )
* matrix-backup-borg: added option for unencrypted repo access
* matrix-backup-borg: fixed requiring password for unencrypted repos; changed variable name
* matrix-backup-borg: add unknown_unencrypted_repo_access_is_ok to config.yaml.j2
* matrix-backup-borg: cleanup comments
* matrix-backup-borg: add documentation regarding unencrypted repos
* matrix-backup-borg: add readability and ease of use to code
* matrix-backup-borg: fix wording in defaults/main.yml comment
* matrix-backup-borg: add quotes to docs
* Indicate the variable to use
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
4 年前
Aine
a9d0cbc560
feedback
4 年前
Aine
d5f4c17146
matrix-backup-borg: integrate postgres backups, add extended borgmatic configuration
4 年前
Aine
a5a3769ca9
add borg backup ( #1727 )
* add borg backup
* lint fix
* add exlclude patterns
* missed in the #1726 fix for honoroit
* feedback
* Fix indentation
* feedback
* feedback
* feedback
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
4 年前