Automated changes from linter ;P

This commit is contained in:
Mark Janssen 2024-07-11 20:47:52 +02:00
parent 44b73a216f
commit f7f04e7a41
Signed by: foobar
GPG key ID: D8674D8FC4F69BD2
65 changed files with 392 additions and 324 deletions

View file

@ -1,7 +1,8 @@
---
- import_tasks: ../../common/handlers/main.yaml
- ansible.builtin.import_tasks:
file: ../../common/handlers/main.yaml
- name: restart mosquitto
systemd:
ansible.builtin.systemd:
name: mosquitto
state: restarted

View file

@ -3,13 +3,13 @@
tags: mqtt_internal
block:
- name: Install dependencies
apt:
ansible.builtin.apt:
name:
- mosquitto
- avahi-daemon
- name: Configure Mosquitto
template:
ansible.builtin.template:
src: "{{ item }}"
dest: "/etc/mosquitto/conf.d/{{ item }}"
owner: root
@ -21,7 +21,7 @@
- public-bridge.conf
- name: Start mosquitto
systemd:
ansible.builtin.systemd:
name: mosquitto
state: started
enabled: yes