From d96bfc64a6e8c6ef4332e124ddf212042770e946 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 28 Aug 2025 22:47:05 +0200 Subject: [PATCH] added possibility to deactivate docker service loading for performance --- roles/sys-svc-docker/defaults/main.yml | 1 + roles/sys-svc-docker/tasks/01_core.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 roles/sys-svc-docker/defaults/main.yml diff --git a/roles/sys-svc-docker/defaults/main.yml b/roles/sys-svc-docker/defaults/main.yml new file mode 100644 index 00000000..0f53bebe --- /dev/null +++ b/roles/sys-svc-docker/defaults/main.yml @@ -0,0 +1 @@ +SYS_SVC_DOCKER_LOAD_SERVICES: true # Implemented to deploy roles during development faster by skipping dependencies \ No newline at end of file diff --git a/roles/sys-svc-docker/tasks/01_core.yml b/roles/sys-svc-docker/tasks/01_core.yml index 353bdd21..1cc8f1e3 100644 --- a/roles/sys-svc-docker/tasks/01_core.yml +++ b/roles/sys-svc-docker/tasks/01_core.yml @@ -22,4 +22,5 @@ - sys-ctl-hlth-docker-container - sys-ctl-hlth-docker-volumes - sys-ctl-rpr-docker-soft - - sys-ctl-rpr-docker-hard \ No newline at end of file + - sys-ctl-rpr-docker-hard + when: SYS_SVC_DOCKER_LOAD_SERVICES | bool \ No newline at end of file