Use global config for MQTT hosts

This commit is contained in:
polyfloyd 2023-09-10 18:32:45 +02:00
parent 1a26f81be6
commit fd6cc59b48
8 changed files with 9 additions and 7 deletions

View file

@ -5,7 +5,7 @@
set -eu
set -o pipefail
mqtt-simple -h mqtt.bitlair.nl -s "bitlair/photos" |
mqtt-simple -h {{ mqtt_internal_host }} -s "bitlair/photos" |
while read event; do
path=$(echo $event | cut -d ' ' -f 2)
url="https://bitlair.nl/fotos/view/$path"