summaryrefslogtreecommitdiff
path: root/roles/mosquitto/broker/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mosquitto/broker/defaults/main.yml')
-rw-r--r--roles/mosquitto/broker/defaults/main.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/roles/mosquitto/broker/defaults/main.yml b/roles/mosquitto/broker/defaults/main.yml
new file mode 100644
index 00000000..bd509f9c
--- /dev/null
+++ b/roles/mosquitto/broker/defaults/main.yml
@@ -0,0 +1,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') }}