Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
3 anos atrás
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
3 anos atrás
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 anos atrás
Sebastian Gumprich
48388a3d96
use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
3 anos atrás
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 anos atrás
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 anos atrás
Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
4 anos atrás
Aine
701591e87e
Added retries to the docker pulls
4 anos atrás
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 anos atrás
Slavi Pantaleev
4e4fb98a65
Do not install fuse unless necessary
Discussed here: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1510
4 anos atrás
Michael Collins
98e6cd685d
sync with previous repo
4 anos atrás
Michael-GMH
86e4649578
GoMatrixHosting v0.5.5
4 anos atrás
Michael-GMH
03006eb5ab
GoMatrixHosting v0.5.5
4 anos atrás
Slavi Pantaleev
7e8e95a09a
Make S3-mounting path configurable
This will make data migration easier.
5 anos atrás
Chris van Dijk
7585bcc4ac
Allow the matrix user username and groupname to be configured separately
No migration steps should be required.
6 anos atrás
Chris van Dijk
cf0e56e92b
Consistent usage of matrix username and groupname, not uid and gid
This should be a no-op, no migration necessary.
6 anos atrás
mooomooo
eebc6e13f8
Made directory variables for /etc/systemd/system , /etc/cron.d , /usr/local/bin
6 anos atrás
Slavi Pantaleev
7d3adc4512
Automatically force-pull :latest images
We do use some `:latest` images by default for the following services:
- matrix-dimension
- Goofys (in the matrix-synapse role)
- matrix-bridge-appservice-irc
- matrix-bridge-appservice-discord
- matrix-bridge-mautrix-facebook
- matrix-bridge-mautrix-whatsapp
It's terribly unfortunate that those software projects don't release
anything other than `:latest`, but that's how it is for now.
Updating that software requires that users manually do `docker pull`
on the server. The playbook didn't force-repull images that it already
had.
With this patch, it starts doing so. Any image tagged `:latest` will be
force re-pulled by the playbook every time it's executed.
It should be noted that even though we ask the `docker_image` module to
force-pull, it only reports "changed" when it actually pulls something
new. This is nice, because it lets people know exactly when something
gets updated, as opposed to giving the indication that it's always
updating the images (even though it isn't).
6 anos atrás
Dan Arnfield
9c23d877fe
Fix docker_image option for ansible < 2.8
7 anos atrás
Dan Arnfield
db15791819
Add source option to docker_image to fix deprecation warning
7 anos atrás
Slavi Pantaleev
fc7ba153b1
Make matrix-synapse role respect matrix_synapse_enabled flag
7 anos atrás