From 8064834654f9b1d4d2efb515ef54eafef7087563 Mon Sep 17 00:00:00 2001 From: starcalc Date: Tue, 30 Aug 2022 19:11:15 +0200 Subject: [PATCH] Show hosts --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index d0fcdb9..b396900 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,7 @@ steps: - name: fetch ips image: cburki/mosquitto-clients commands: + - cat hosts - for h in $(cat hosts); do mosquitto_sub -h raum.ctdo.de -t \"homie/${h}/\$localip\" -C 1 | tr -d '\n'; done >lastknownips - for h in $(cat hosts); do echo "${h},$(mosquitto_sub -h raum.ctdo.de -t \"homie/${h}/\$localip\" -C 1 | tr -d '\n')"; done >lastknownhostips # - mosquitto_sub -h raum.ctdo.de -t "homie/${HOST}/\$localip" -C 1 | tr -d '\n'