From e02337a4a97f6e2bb2d8a13e3f9972b541bb0555 Mon Sep 17 00:00:00 2001 From: NeoPlays <80448387+NeoPlays@users.noreply.github.com> Date: Thu, 19 Oct 2023 19:25:14 +0200 Subject: [PATCH] ADD: Exceptions for Metrics Exporter (#1498) --- controls/roles/manage-service/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/roles/manage-service/tasks/main.yml b/controls/roles/manage-service/tasks/main.yml index 8582beb56..42049166e 100644 --- a/controls/roles/manage-service/tasks/main.yml +++ b/controls/roles/manage-service/tasks/main.yml @@ -41,7 +41,7 @@ recurse: yes changed_when: false become: yes - when: (stereum.manage_service.state == "started" or stereum.manage_service.state == "restarted") and item.split(':') | first != '/' + when: (stereum.manage_service.state == "started" or stereum.manage_service.state == "restarted") and item.split(':') | first != '/' and item.split(':') | first != '/sys' and item.split(':') | first != '/proc' with_items: "{{ stereum_service_configuration.volumes | reject('search', ':/engine.jwt') }}" - name: Set directory permissions for engine.jwt