🧑💻 add ansible tag to mosquitto jobs
This commit is contained in:
parent
4ea37ddc0c
commit
cfea29089c
1 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,8 @@
|
|||
- "{{ mosquitto_data }}/config"
|
||||
- "{{ mosquitto_data }}/data"
|
||||
- "{{ mosquitto_data }}/log"
|
||||
tags:
|
||||
- mosquitto
|
||||
|
||||
- name: Make sure mosquitto config is there
|
||||
template:
|
||||
|
@ -53,6 +55,8 @@
|
|||
dest: "{{ mosquitto_data }}/config/mosquitto.conf"
|
||||
mode: 0644
|
||||
notify: restart mosquitto
|
||||
tags:
|
||||
- mosquitto
|
||||
|
||||
- name: Ensure mosquitto is running
|
||||
docker_container:
|
||||
|
@ -72,6 +76,8 @@
|
|||
restart_policy: unless-stopped
|
||||
env:
|
||||
TZ: "{{ timezone }}"
|
||||
tags:
|
||||
- mosquitto
|
||||
|
||||
- name: Check if nodered data dir exists
|
||||
ansible.builtin.stat:
|
||||
|
|
Loading…
Reference in a new issue