1
2
3
4
5
6
7
8
9
10
---
- name: "Create file: /etc/mosquitto/mosquitto.conf"
template:
src: mosquitto.conf.j2
dest: /etc/mosquitto/mosquitto.conf
mode: "0755"
owner: root
group: root
notify: "Restart mosquitto"
My personal ansible roles and playbooks [deprecated in favor of nixos]
1
2
3
4
5
6
7
8
9
10
---
- name: "Create file: /etc/mosquitto/mosquitto.conf"
template:
src: mosquitto.conf.j2
dest: /etc/mosquitto/mosquitto.conf
mode: "0755"
owner: root
group: root
notify: "Restart mosquitto"