You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
394 B
YAML

---
- name: reconfigure mosquitto acl
make:
chdir: "{{ environment_directory }}"
target: "{{ acl_file_name }}"
notify: restart mosquitto
- name: reconfigure mosquitto auth
make:
chdir: "{{ environment_directory }}"
target: "{{ auth_file_name }}"
notify: restart mosquitto
- name: restart mosquitto
systemd:
enabled: yes
name: mosquitto
state: restarted