xoxys.mosquitto/defaults/main.yml

42 lines
1.1 KiB
YAML
Raw Normal View History

2018-11-04 22:21:13 +00:00
---
2018-11-04 23:10:22 +00:00
mosquitto_base_dir: /etc/mosquitto
mosquitto_pid_file: /var/run/mosquitto.pid
mosquitto_user: mosquitto
mosquitto_group: mosquitto
2018-11-04 23:10:22 +00:00
2017-12-18 08:52:02 +00:00
mosquitto_port: 1883
2017-12-17 13:18:23 +00:00
mosquitto_bind_address: "{{ ansible_default_ipv4.address }}"
2018-11-04 23:10:22 +00:00
mosquitto_persistence_enabled: False
mosquitto_persistence_path: /var/lib/mosquitto/mosquitto.db
2017-12-18 10:44:17 +00:00
2018-11-04 23:31:54 +00:00
mosquitto_iptables_enabled: False
2018-11-05 19:15:12 +00:00
mosquitto_password_auth_enabled: False
mosquitto_password_auth_file: "{{ mosquitto_base_dir }}/passwd"
2018-11-05 19:23:54 +00:00
# mosquitto_password_auth_users: (defaults to not set)
# - admin:
2018-11-05 19:39:18 +00:00
# password: mysecret
# state: present
2018-11-05 19:23:54 +00:00
# - user1:
2018-11-05 19:39:18 +00:00
# password: very_secure
# state: absent
2018-11-05 19:23:54 +00:00
2018-11-05 19:15:12 +00:00
mosquitto_acl_enabled: False
mosquitto_acl_file: "{{ mosquitto_base_dir }}/aclfile"
2018-11-07 19:44:06 +00:00
# mosquitto_acl: (defaults to not set)
# - iot:
# user: admin
# acl_base: topic # (topic|pattern, defaults to topic)
# acl_topic: "#"
# acl_policy: readwrite
# - readonly_iot:
# user: user1
# acl_base: topic
# acl_topic: my/devices
# acl_policy: readwrite
2018-11-05 19:15:12 +00:00
2017-12-18 10:44:17 +00:00
mosquitto_tls_enabled: False
2018-11-04 23:10:22 +00:00
mosquitto_ca_path: /etc/pki/tls/certs/