Ansible adaptions
This commit is contained in:
parent
a0984df2ab
commit
2adab8e24c
@ -3,10 +3,10 @@
|
||||
import os
|
||||
import report
|
||||
|
||||
MQTT_USER = "user"
|
||||
MQTT_PASS = "pass"
|
||||
MQTT_SERVER = "localhost"
|
||||
MQTT_TOPIC = "hifi/spotify"
|
||||
MQTT_USER = "<mqtt_smarthome_username>"
|
||||
MQTT_PASS = "<mqtt_smarthome_password>"
|
||||
MQTT_SERVER = "<mqtt_smarthome_hostname>"
|
||||
MQTT_TOPIC = "<mqtt_spotify_topic>"
|
||||
|
||||
DEVICE_NAME = "Multimedia"
|
||||
|
||||
|
8
init_venv
Executable file
8
init_venv
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
BASEPATH=`realpath $(dirname $0)`
|
||||
|
||||
python3 -m venv $BASEPATH/venv
|
||||
$BASEPATH/venv/bin/pip install --upgrade pip
|
||||
find $BASEPATH -name requirements.txt | xargs -L 1 $BASEPATH/venv/bin/pip install -r
|
||||
$BASEPATH/venv/bin/pip list --outdated --format=json | jq -r '.[] | .name'|xargs -n1 $BASEPATH/venv/bin/pip install -U
|
Loading…
x
Reference in New Issue
Block a user