eb1f23abad
Fix: Use current workdir for mount / workdir
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-11-26 15:30:16 +01:00
45b2a63320
Fix: Not a TTY
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-11-26 15:24:33 +01:00
a634fd2391
Fix: Register update variable
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-11-26 15:21:07 +01:00
a68be104dc
Add docker-wrapper method for docker-compose
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-11-26 15:17:24 +01:00
f0ea56eb01
Fix: Do not validate config in packer builds: Files may be missing
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-10-04 17:34:55 +02:00
2b1114268c
Add support for archlinux
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-05-12 12:19:12 +02:00
2839818c8a
Fix: Allow disabling the clean-job timer to fail
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-19 22:41:38 +01:00
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