Commit graph

18 commits

Author SHA1 Message Date
50413cc01c
Remove dependency from reload timer to compose service
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-01-28 23:58:43 +01:00
9040e13587
Use proper boolean, stop timer when disabling
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-01-28 23:56:19 +01:00
a171ae9a44
Add docker-clean job
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-01-28 23:53:06 +01:00
c7bd5a3c9b
Remove migration steps
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-30 23:28:19 +02:00
1aa19a495e
In case the unit broke reload is not possible, try restarting
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-16 06:37:07 +02:00
ac6c5dffab
Better start from stale images than start nothing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-16 06:35:44 +02:00
1e495581a1
Introduce delay option for clusters not to reload at the same time
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-25 10:32:33 +02:00
32ec60b6fe
Add option to disable validation of docker-compose file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-24 16:04:17 +02:00
1b54459c12
Introduce stop action
This enables users of this role to execute `docker-compose stop` instead
of `docker-compose down` on shutdown and speed up the startup. For full
discussion leading to this see: https://git.io/vpIOy

Thanks @EugenMayer for the suggestion!

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-18 17:53:21 +02:00
5edb7e5e38
Remove deprecated option --parallel
docker-compose 1.21.0 deprecated the flag as it is now the default
behaviour. This change removes the flag and therefore the deprecation
warning from the logs

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-12 23:35:36 +02:00
117b424de2
Use cache_valid_time for apt module
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-19 16:09:58 +01:00
d3480810ee
Fix: Don't do reloads on packer builds
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-23 14:41:45 +01:00
c924400ee0
Do not start services in packer builds
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-23 11:44:43 +01:00
bef958b763
Ensure plain "pip" is used
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-12 14:21:48 +01:00
3087b329e5
Fix: Ensure docker-compose is restarted on docker restart
Previously restarting docker.service (e.g. on an update) caused
docker-compose to be shut down and not being restarted. This caused
services started by docker-compose not to be started and the system to
have no running containers. This fix chains docker-compose directly to
docker and therefore systemd will start docker-compose when docker comes
up again.

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-07 13:02:32 +01:00
ce653b699c
Rename variable to prevent name collisions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-27 13:42:23 +01:00
647cbff51f
Use "remove-orphans" to remove deleted services
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-18 23:19:35 +02:00
5c9615fd2b
Initial import as galaxy role
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-14 11:10:19 +02:00