Commit Graph

6 Commits

Author SHA1 Message Date
Slavi Pantaleev
d25e7744d9 Always restart services one by one when doing install-service
This way, something like `just install-service postgres` will
definitely do a `restart` and not a `stop` + `start` (which may leave
dependant services stopped).

This has potentially been addressed by
7acb5f4b85
as well.
2023-03-28 10:55:11 +03:00
Slavi Pantaleev
413049feea Remove shell configuration for better compatibility
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2604
2023-03-26 14:12:29 +03:00
Aine
34a03cf732
safely integrate agru, format justfile, format requirements.yml 2023-03-25 17:47:13 +02:00
Slavi Pantaleev
abf96569e0 Add extra_args support to install-service justfile command
It's now possible to do: `just install-service prometheus -l host.example.com`
2023-03-20 15:05:19 +02:00
Slavi Pantaleev
3e84e354a8 Add "install-service" justfile command
It should be noted that this cannot be used for the initial install
of services which require a database or have other dependencies.
Those would typically need to invoke the playbook with
`--tags=install-postgres,install-SERVICE`, etc.

The purpose of this shortcut is to easily rebuild and restart
a single serice subsequently. For those cases, often times there's no need to
reinitialize the database and other components and simply running a
single component's tasks is enough.
2023-03-19 08:12:37 +02:00
Slavi Pantaleev
a529bca756 Add justfile
We keep the Makefile for now, but don't mention it to new
users anymore.
2023-01-11 15:12:05 +02:00