Skip to content

Commit

Permalink
fix(lint): fixed ansible lint errors in the monitoring file
Browse files Browse the repository at this point in the history
Signed-off-by: sakethanne <asvn.saketh@gmail.com>
  • Loading branch information
Sakethanne authored and glimchb committed Oct 12, 2024
1 parent 9d81f40 commit 95f2fbd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ansible/monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,17 @@
ansible.builtin.cron:
name: "mev imc temperature"
minute: "*/5"
job: "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=3 root@192.168.0.1 iset-cli get-temperature > /run/mev_imc_temperature.json"
job: >
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
-o ConnectTimeout=3 root@192.168.0.1 iset-cli get-temperature
> /run/mev_imc_temperature.json
- name: Intel | Add additional mount for mev
ansible.builtin.set_fact:
telegraf_mounts: "{{ telegraf_mounts + [{'type': 'bind', 'source': '/run/mev_imc_temperature.json', 'target': '/run/mev_imc_temperature.json', 'read_only': true}] }}"
telegraf_mounts: "{{ telegraf_mounts + [{'type': 'bind',
'source': '/run/mev_imc_temperature.json',
'target': '/run/mev_imc_temperature.json',
'read_only': true}] }}"

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

0 comments on commit 95f2fbd

Please sign in to comment.