homeassistant: Install basic mosquitto instance

This commit is contained in:
Thomas Basler 2024-10-02 21:13:55 +02:00
parent 42538dc019
commit a9c66ab0e3
2 changed files with 23 additions and 1 deletions

View File

@ -9,3 +9,24 @@ root_keys_host:
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC0Wq37DP89UO6MiJvvRbsXEcEV9d5/JJb7K2R0WHsHa sct39667@m-mob-062"
uau_reboot: "false"
mosquitto_listeners:
# Listeners for Mosquitto MQTT Broker
- name: "default"
listener: "1883"
protocol: "mqtt"
use_username_as_clientid: "false"
allow_zero_length_clientid: "true"
allow_anonymous: "false"
users:
- username: admin
password: "{{ vault_mosquitto_arwen_admin_passwd }}"
acl:
- permissions: readwrite
topic: "#"
- username: homeassistant
password: "{{ vault_mosquitto_arwen_homeassistant_passwd }}"
acl:
- permissions: readwrite
topic: "#"

View File

@ -8,4 +8,5 @@ galaxy_info:
- name: Debian
min_ansible_version: "2.4"
dependencies: []
dependencies:
- { role: mosquitto }