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
Slavi Pantaleev
1ea1597020
Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around
`block` statements.
3 years ago
Shaleen Jain
f674afe5e8
appservice: add and use homeserver_container_* vars ( #2045 )
* appservice: add and use matrix_homeserver_* vars
* appservice: use the new vars
* Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
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
Slavi Pantaleev
677a2fc503
Fix compatibility with ansible=6 / ansible-core=2.13
Details here: https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_6.html#id36
Basically:
```yaml
- name: Prior to 2.13
debug:
msg: '[1] + {{ [2] }}'
- name: 2.13 and forward
debug:
msg: '{{ [1] + [2] }}'
```
Interestingly, we had been using the new/safe syntax in lofs of places.
We were using the broken one in many others though. Hopefully all
instances were fixed by this patch.
3 years ago
László Várady
9cc3c5be76
Fix warning about reverse-proxying when built-in proxy is disabled
`matrix_nginx_proxy_enabled` is usually set to false by users, this is when
the warning should be displayed.
4 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 years ago
HarHarLinks
c0f7c39f7d
s/plabook/playbook
4 years ago
Michael Collins
98e6cd685d
sync with previous repo
4 years ago
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
5 years ago
Marcus
3e119e483e
Update init.yml
fix nginx boot loop
5 years ago
Slavi Pantaleev
05ca9357a8
Add .service suffix to systemd units list
We'll be adding `.timer` units later on, so it's good to be
more explicit.
5 years ago
Björn Marten
654d45a2bf
Adjust message when webhook bridge is activated but nginx-proxy is not
6 years ago
Björn Marten
6b2bf2c38b
Get rid of rewrite terminology
6 years ago
Björn Marten
50bf8c8dd7
Add matrix-appservice-webhooks role.
6 years ago