From 44c3621a55febe68cc9315fd1c86c4739306393b Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Mon, 23 Jun 2025 17:54:14 +0000 Subject: [PATCH] Fix install order from mqtt hosts --- playbooks/mqtt.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/playbooks/mqtt.yml b/playbooks/mqtt.yml index 8a5c0b7..490bce3 100644 --- a/playbooks/mqtt.yml +++ b/playbooks/mqtt.yml @@ -15,9 +15,16 @@ roles: - base - mosquitto - - ha_mqtt_configd - telegraf - nginx - role: nginx_site nginx_site_name: iot.foo.sh - shelly_firmware + + tasks: + - name: Run handlers to get interfaces + ansible.builtin.meta: flush_handlers + + - name: Import ha_mqtt_configd role + ansible.builtin.import_role: + name: ha_mqtt_configd