Skip to content

Commit 95f2fbd

Browse files
Sakethanneglimchb
authored andcommitted
fix(lint): fixed ansible lint errors in the monitoring file
Signed-off-by: sakethanne <asvn.saketh@gmail.com>
1 parent 9d81f40 commit 95f2fbd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

ansible/monitoring.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,17 @@
6464
ansible.builtin.cron:
6565
name: "mev imc temperature"
6666
minute: "*/5"
67-
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"
67+
job: >
68+
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
69+
-o ConnectTimeout=3 root@192.168.0.1 iset-cli get-temperature
70+
> /run/mev_imc_temperature.json
6871
6972
- name: Intel | Add additional mount for mev
7073
ansible.builtin.set_fact:
71-
telegraf_mounts: "{{ telegraf_mounts + [{'type': 'bind', 'source': '/run/mev_imc_temperature.json', 'target': '/run/mev_imc_temperature.json', 'read_only': true}] }}"
74+
telegraf_mounts: "{{ telegraf_mounts + [{'type': 'bind',
75+
'source': '/run/mev_imc_temperature.json',
76+
'target': '/run/mev_imc_temperature.json',
77+
'read_only': true}] }}"
7278

7379
- name: Print the list of mounts for each host
7480
ansible.builtin.debug:

0 commit comments

Comments
 (0)