From 95f2fbd5269405add82d9119e055df6d404c748b Mon Sep 17 00:00:00 2001 From: sakethanne Date: Fri, 11 Oct 2024 13:57:42 -0700 Subject: [PATCH] fix(lint): fixed ansible lint errors in the monitoring file Signed-off-by: sakethanne --- ansible/monitoring.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ansible/monitoring.yml b/ansible/monitoring.yml index db314e5..a58bf0c 100644 --- a/ansible/monitoring.yml +++ b/ansible/monitoring.yml @@ -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: