mosquitto: Fix calling restart handlers
This commit is contained in:
parent
8d5f5ad4ed
commit
3d77c2f324
1 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
||||||
name: _mosquitto
|
name: _mosquitto
|
||||||
groups: hostkey
|
groups: hostkey
|
||||||
append: true
|
append: true
|
||||||
notify: restart mosquitto
|
notify: Restart mosquitto
|
||||||
|
|
||||||
- name: Create include directory for config
|
- name: Create include directory for config
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
path: /etc/mosquitto/mosquitto.conf
|
path: /etc/mosquitto/mosquitto.conf
|
||||||
line: include_dir /etc/mosquitto/conf.d
|
line: include_dir /etc/mosquitto/conf.d
|
||||||
regexp: "^#?include_dir( .*)?$"
|
regexp: "^#?include_dir( .*)?$"
|
||||||
notify: restart mosquitto
|
notify: Restart mosquitto
|
||||||
|
|
||||||
- name: Create custom config
|
- name: Create custom config
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
mode: 0640
|
mode: 0640
|
||||||
owner: root
|
owner: root
|
||||||
group: _mosquitto
|
group: _mosquitto
|
||||||
notify: restart mosquitto
|
notify: Restart mosquitto
|
||||||
|
|
||||||
- name: Copy acl file
|
- name: Copy acl file
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|
Loading…
Add table
Reference in a new issue