Slavi Pantaleev
c96a0156c0
Make matrix-dynamic-dns use its own container network
преди 2 години
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
7c2a7a8eb6
Replace most import_tasks calls with include_tasks for improved performance
преди 3 години
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
преди 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
d073c7ecb3
More ansible-lint fixes
преди 3 години
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
преди 3 години
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 години
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
преди 4 години
Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
преди 4 години
Aine
701591e87e
Added retries to the docker pulls
преди 4 години
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
преди 4 години
Michael Collins
98e6cd685d
sync with previous repo
преди 4 години
Michael-GMH
86e4649578
GoMatrixHosting v0.5.5
преди 4 години
Michael-GMH
03006eb5ab
GoMatrixHosting v0.5.5
преди 4 години
Michael-GMH
85777e8f96
merge with upstream
преди 4 години
Slavi Pantaleev
1ab507349c
Fix self-building for various components on Ansible < 2.8
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1070
преди 4 години
Slavi Pantaleev
be5263f397
Move self-building git repository URLs to variables (stop hardcoding)
преди 5 години
Slavi Pantaleev
5eed874199
Improve self-building experience (avoid conflict with pullable images)
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/716
This patch makes us use more fully-qualified container image names
(either prefixed with docker.io/ or with localhost/).
The latter happens when self-building is enabled.
We've recently had issues where if an image was removed manually
and the service was restarted (making `docker run` fetch it from Docker Hub, etc.),
we'd end up with a pulled image, even though we're aiming for a self-built one.
Re-running the playbook would then not do a rebuild, because:
- the image with that name already exists (even though it's something
else)
- we sometimes had conditional logic where we'd build only if the git
repo changed
By explicitly changing the name of the images (prefixing with localhost/),
we avoid such confusion and the possibility that we'd automatically pul something
which is not what we expect.
Also, I've removed that condition where building would happen on git
changes only. We now always build (unless an image with that name
already exists). We just force-build when the git repo changes.
преди 5 години
Scott Crossen
e894befd87
Updates to reviewer comments
преди 5 години
Scott Crossen
19721be8b1
removed dhcp option
преди 5 години
Scott Crossen
51cca4c312
Added containerization
преди 5 години