summaryrefslogtreecommitdiff
path: root/roles/mosquitto/broker/defaults/main.yml
blob: bd509f9cc25aa18868968235530d0cf4f3bb4817 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
# mosquitto_broker_global_config_options:
#   per_listener_settings: "true"

mosquitto_broker_listeners: {}
#   example:
#     bind: 1883 192.0.2.1
#     hostnames:
#     - mqtt.example.com
#     tls:
#       certificate_provider: ...
#     options:
#       require_certificate: "true"
#       use_identity_as_username: "true"
#   foo:
#     bind: 1884
#     options:
#       allow_anonymous: "false"
#       acl_file: /etc/mosquitto/example.acl
#       password_file: /etc/mosquitto/example.passwd

mosquitto_broker_prometheus_listener: false

mosquitto_broker_acl_files: {}
#   example: |
#     user somebody
#     topic read example/+/foo

mosquitto_broker_password_files: {}
#   example: |
#     somebody:{{ 'secret' | mosquitto_passwd_hash('somebody@mqtt.example.com') }}