Slavi Pantaleev
4b111d05d5
Pass devture_postgres_db_migration_request to com.devture.ansible.role.postgres in a cleaner way
пре 3 година
Slavi Pantaleev
910cd9adf0
Replace import_role calls with include_role calls
пре 3 година
Slavi Pantaleev
2688e8bfc3
Optimize initial installation by not reloading systemd after each .service install
We expect `--tags=start` to handle systemd reloading, so we don't need
to do it manually each time we install/uninstall a .service file.
пре 3 година
Slavi Pantaleev
04b9483f0d
Switch from matrix-postgres to com.devture.ansible.role.postgres
пре 3 година
Slavi Pantaleev
07c23b7cb0
Remove matrix_synapse_role_executed and various tasks that check it
This was useful when the order of these roles in relation to Synapse
mattered (when we were injecting stuff into Synapse variables during
runtime). This is no longer the case since 0ea7cb5d1812a88, so all of
this can be removed.
пре 3 година
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
пре 3 година
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
пре 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 година
Sebastian Gumprich
48388a3d96
use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
пре 3 година
Slavi Pantaleev
1ea1597020
Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around
`block` statements.
пре 3 година
MdotAmaan
6fb961eb12
Make changes according to feedback
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Update group_vars/matrix_servers
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Remove old data migration tasks
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Update roles/matrix-bridge-mautrix-discord/tasks/validate_config.yml
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Redo bridge permissions
пре 3 година
MdotAmaan
8621ff1379
Add Mautrix Discord Bridge
пре 3 година