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