28 lines
590 B
Django/Jinja
28 lines
590 B
Django/Jinja
## {{ ansible_managed }}
|
|
|
|
port {{ mosquitto_port }}
|
|
bind_address {{ mosquitto_bind_address }}
|
|
user {{ mosquitto_user }}
|
|
|
|
persistence_file mosquitto.db
|
|
|
|
log_dest syslog
|
|
log_dest stdout
|
|
log_dest topic
|
|
log_type error
|
|
log_type warning
|
|
log_type notice
|
|
log_type information
|
|
log_timestamp true
|
|
|
|
connection_messages true
|
|
allow_anonymous false
|
|
password_file {{ mosquitto_passwd_file }}
|
|
|
|
{% if mosquitto_tls_enabled %}
|
|
cafile {{ mosquitto_ca_file }}
|
|
certfile {{ mosquitto_cert_file }}
|
|
keyfile {{ mosquitto_private_key_file }}
|
|
require_certificate {{ mosquitto_require_certificate|lower }}
|
|
{% endif %}
|