Skip to content

Commit

Permalink
fix(ansible): fixing ansible lint
Browse files Browse the repository at this point in the history
Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>
  • Loading branch information
mohamedasifs123 authored and sandersms committed Jan 21, 2025
1 parent cebf2dd commit 30f339f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions ansible/monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,19 @@
- name: Nvidia | Set Docker socket has appropriate permissions
ansible.builtin.file:
path: /var/run/docker.sock
mode: '0666'
mode: '0666'

- name: Nvidia | Add additional mount for bf2
ansible.builtin.set_fact:
telegraf_mounts: "{{ telegraf_mounts + [
{'type': 'bind',
'source': '/run/emu_param',
'target': '/run/emu_param',
telegraf_mounts: "{{ telegraf_mounts + [{'type': 'bind',
'source': '/run/emu_param',
'target': '/run/emu_param',
'read_only': true},
{'type': 'bind',
'source': '/var/run/docker.sock',
'target': '/var/run/docker.sock',
'read_only': false}
] }}"

'read_only': true}] }}"

- name: Intel | telegraf otel monitoring
when: inventory_hostname == 'mev'
environment: "{{ proxy_env | default({}) }}"
Expand Down

0 comments on commit 30f339f

Please sign in to comment.