Skip to content

Commit

Permalink
ADD: Exceptions for Metrics Exporter (#1498)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoPlays authored Oct 19, 2023
1 parent 815dc1d commit e02337a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controls/roles/manage-service/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e02337a

Please sign in to comment.