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 <[email protected]>
  • Loading branch information
mohamedasifs123 authored and sandersms committed Jan 21, 2025
1 parent d52523e commit 67fad46
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ansible/monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,18 @@
- name: Intel | Set Docker socket has appropriate permissions
ansible.builtin.file:
path: /var/run/docker.sock
mode: '0666'
mode: '0666'

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

- name: Print the list of mounts for each host
ansible.builtin.debug:
Expand Down

0 comments on commit 67fad46

Please sign in to comment.