Use global config for MQTT hosts
This commit is contained in:
parent
1a26f81be6
commit
fd6cc59b48
8 changed files with 9 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue