Slavi Pantaleev
e1274a6e56
Rename variable (matrix_hookshot_feeds_interval -> matrix_hookshot_feeds_pollIntervalSeconds)
...
This is more consistent with how we name variables. It's also less
confusing, especially given that we have `matrix_hookshot_feeds_pollTimeoutSeconds` as well.
2 years ago
Sebastian Gumprich
48388a3d96
use fqcns for some task
...
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
2 years ago
Slavi Pantaleev
1ea1597020
Fix some ansible-lint-reported warnings
...
This mostly fixes `key-order` warnings around
`block` statements.
2 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>
2 years ago
Slavi Pantaleev
1693c4ca1d
Fix no-changed-when ansible-lint errors
...
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#no-changed-when
2 years ago
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
2 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
2 years ago
Slavi Pantaleev
ba51997f7b
(BC Break) Redo how metrics are exposed to external Prometheus servers
2 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
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
HarHarLinks
a9e6538ef8
Upgrade Hookshot (1.3.0 -> 1.4.0)
...
https://github.com/matrix-org/matrix-hookshot/releases/tag/1.4.0
3 years ago
HarHarLinks
ceb2f54970
Make hookshot hardcoded public URLs dynamic
3 years ago
Arthur Brugière
cfd8a9c0f8
[HOOKSHOT] Fix yamllint
3 years ago
Arthur Brugière
b3176957c3
Add hookshot self build for arm64 and amd64
3 years ago
Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
3 years ago
Jim Myhrberg
eeca3c8dca
fix: avoid yaml being wrapped at column 80 via to_nice_yaml
...
The `to_nice_yaml` helper will by default wrap any string YAML values on
the first space after column 80. This can in worst case yield invalid
YAML syntax. More details in Ansible's documentation here:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#formatting-data-yaml-and-json
In short, you need to explicitly provide a custom width argument of a
high number of some kind to avoid the line wrapping.
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.
3 years ago
Luis
833ac506fe
pass GET parameters too
...
This fixes parameters not being passed to the provisioning api
3 years ago
Luis
584e50d117
fix hookshot provisioning url in nginx
...
Hello, this PR should fix Hookshot container not receiving API calls with the right path because nginx proxy was stripping the /v1 from it.
3 years ago
Peter Schümann
211f05abbe
add $is_args$args
...
to proxy url params in GET requests
3 years ago
Slavi Pantaleev
1ed46f0a86
Remove Jinja2 templating delimiters from when statement
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1629
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1505
3 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
3 years ago
HarHarLinks
f136c1fb8f
fixup! add some hookshot config validation
3 years ago
HarHarLinks
4477711e79
add some hookshot config validation
3 years ago
HarHarLinks
f47bfdfb4f
remove hookshot uninstall comments based on feedback
3 years ago
HarHarLinks
a1a5b16185
update hookshot private key installation method
3 years ago
HarHarLinks
5d07f14235
install openssl for hookshot
...
using b33ea48
3 years ago
HarHarLinks
8498ffd8f7
name hookshot github private key consistently
3 years ago
HarHarLinks
f12cad7a7b
rename hookshot *.yaml to *.yml
3 years ago
HarHarLinks
23d6b2d3da
update hookshot github private key path and install condition
3 years ago
HarHarLinks
3a766d4ba5
proxy hookshot metrics when proxying synapse metrics
...
see also #1527
3 years ago
HarHarLinks
8b19f56ef8
add hookshot config validation
3 years ago
HarHarLinks
65991de61c
update hookshot private key file mechanism
3 years ago
HarHarLinks
1987cc4839
refine hookshot role
3 years ago
HarHarLinks
495bfedc0d
refine hookshot role using `--test`
3 years ago
HarHarLinks
b8ee1980ea
refine hookshot role
3 years ago
HarHarLinks
621251c1e5
hookshot role groundwork
3 years ago