Automated changes from linter ;P
This commit is contained in:
parent
44b73a216f
commit
f7f04e7a41
65 changed files with 392 additions and 324 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue