From 1cae13a47136d069954ac9255bd3e179d566ede9 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sun, 24 Mar 2024 07:06:11 +0100 Subject: [PATCH] Adaption to paho 2.0 and jinja config_example for ansible --- config_example/{config.py => config.j2} | 8 ++++---- mqtt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename config_example/{config.py => config.j2} (66%) diff --git a/config_example/config.py b/config_example/config.j2 similarity index 66% rename from config_example/config.py rename to config_example/config.j2 index 4637079..d340087 100644 --- a/config_example/config.py +++ b/config_example/config.j2 @@ -3,10 +3,10 @@ import os import report -MQTT_USER = "" -MQTT_PASS = "" -MQTT_SERVER = "" -MQTT_TOPIC = "" +MQTT_USER = "{{ audio_spotify_username }}" +MQTT_PASS = "{{ audio_spotify_password }}" +MQTT_SERVER = "{{ audio_spotify_hostname }}" +MQTT_TOPIC = "{{ audio_spotify_topic }}" DEVICE_NAME = "Multimedia" diff --git a/mqtt b/mqtt index cf97fa0..328d347 160000 --- a/mqtt +++ b/mqtt @@ -1 +1 @@ -Subproject commit cf97fa066cdff0e2f7eda0ff4d3c8c0f59c3f2ec +Subproject commit 328d3471a748472695a61193becdda76c7eefe69