Suguru Hirahara
3653f9f89b
Run codespell --write-changes
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
9 maanden geleden
Suguru Hirahara
811abc09a8
Update files for matrix-appservice-discord: sort the logging levels
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 jaar geleden
Suguru Hirahara
ae864830e0
Update the URL to matrix-appservice-discord
The URL seems to have been changed at least since several years though the exact date is unknown to me, considering the latest tagged docker image on https://hub.docker.com/r/halfshot/matrix-appservice-discord/tags (https://hub.docker.com/layers/halfshot/matrix-appservice-discord/develop/images/sha256-a1015907545603448d2d8e2ea0d31f0fdb6c7676009e2cb38e324440a9284317 ) is dated Feb 15, 2021.
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 jaar geleden
Slavi Pantaleev
4cbea602dd
Sync appservice-discord configuration with upstream
3 jaren geleden
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 jaren geleden
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
3 jaren geleden
Jim Myhrberg
a5e95c42b2
feat(appservice-discord): add disablePortalBridging bridge option
This allows disabling the automatic portal bridging, meaning bridges
must be manually setup via self-servicing, by setting:
matrix_appservice_discord_bridge_enableSelfServiceBridging: true
4 jaren geleden
Michael Collins
98e6cd685d
sync with previous repo
4 jaren geleden
Slavi Pantaleev
26542308b3
Use |to_json in more places in matrix-appservice-discord config
I don't think this was causing an issue, but it might
if the bot token has a more special value in the future.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/828
5 jaren geleden
Slavi Pantaleev
a374d309c8
Make appservice-discord support both SQLite and Postgres
People can toggle between them now. The playbook also defaults
to using SQLite if an external Postgres server is used.
Ideally, we'd be able to create databases/users in external Postgres
servers as well, but our initialization logic (and `docker run` command,
etc.) hardcode too many things right now.
5 jaren geleden
transcaffeine
d9f4914e0d
WIP: postgres: create databases for all services
If a service is enabled, a database for it is created in postgres with a uniqque password. The service can then use this database for data storage instead of relying on sqlite.
5 jaren geleden
Slavi Pantaleev
b3d91ed488
Fix passing of matrix_appservice_discord_auth_usePrivilegedIntents
5 jaren geleden
Slavi Pantaleev
6dbb90258e
Mention and recommend enabling usePrivilegedIntents
5 jaren geleden
Slavi Pantaleev
fe7bed5df3
Upgrade appservice-discord
5 jaren geleden
Slavi Pantaleev
5da31ba579
Move configuration templates outside of defaults/main.yml files
5 jaren geleden