summaryrefslogtreecommitdiff
path: root/roles/mosquitto/defaults/main.yml
blob: 32199a506a6fedda955180f4adf87090cd4f6508 (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_global_config_options:
#   per_listener_settings: "true"

mosquitto_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_prometheus_listener: false

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

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