Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
3 years ago
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
3 years ago
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 years ago
Sebastian Gumprich
48388a3d96
use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
3 years ago
Slavi Pantaleev
1ea1597020
Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around
`block` statements.
3 years ago
Slavi Pantaleev
10a5b0d831
Add warnings about using Borg backup with external Postgres
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1982
3 years ago
Slavi Pantaleev
7831dc91b3
Import tasks from other roles in a better way
One that doesn't trip up ansible-lint, causing `load-failure` errors.
3 years ago
Slavi Pantaleev
0ab2001ce7
Fix git-latest ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#git-latest
Our variable naming is not necessarily consistent across roles.
I've tried to follow the naming conventions of each individual role.
All new variables are suffixed with `_version`, but the prefix may be
somewhat different.
3 years ago
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 years ago
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
3 years ago
Aine
c520a758ec
fix linter
3 years ago
Aine
a9d0cbc560
feedback
3 years ago
Aine
d5f4c17146
matrix-backup-borg: integrate postgres backups, add extended borgmatic configuration
3 years ago
Slavi Pantaleev
2df993977a
Ensure git cloning when self-building is done with the matrix user, not root
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1749
3 years ago
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 years ago