--- - 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