Skip to content

Commit 30f339f

Browse files
mohamedasifs123sandersms
authored andcommitted
fix(ansible): fixing ansible lint
Signed-off-by: mohamedasifs123 <[email protected]>
1 parent cebf2dd commit 30f339f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

ansible/monitoring.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,19 @@
5050
- name: Nvidia | Set Docker socket has appropriate permissions
5151
ansible.builtin.file:
5252
path: /var/run/docker.sock
53-
mode: '0666'
53+
mode: '0666'
5454

5555
- name: Nvidia | Add additional mount for bf2
5656
ansible.builtin.set_fact:
57-
telegraf_mounts: "{{ telegraf_mounts + [
58-
{'type': 'bind',
59-
'source': '/run/emu_param',
60-
'target': '/run/emu_param',
57+
telegraf_mounts: "{{ telegraf_mounts + [{'type': 'bind',
58+
'source': '/run/emu_param',
59+
'target': '/run/emu_param',
6160
'read_only': true},
6261
{'type': 'bind',
6362
'source': '/var/run/docker.sock',
6463
'target': '/var/run/docker.sock',
65-
'read_only': false}
66-
] }}"
67-
64+
'read_only': true}] }}"
65+
6866
- name: Intel | telegraf otel monitoring
6967
when: inventory_hostname == 'mev'
7068
environment: "{{ proxy_env | default({}) }}"

0 commit comments

Comments
 (0)