🧑💻 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 }}/config"
|
||||||
- "{{ mosquitto_data }}/data"
|
- "{{ mosquitto_data }}/data"
|
||||||
- "{{ mosquitto_data }}/log"
|
- "{{ mosquitto_data }}/log"
|
||||||
|
tags:
|
||||||
|
- mosquitto
|
||||||
|
|
||||||
- name: Make sure mosquitto config is there
|
- name: Make sure mosquitto config is there
|
||||||
template:
|
template:
|
||||||
|
@ -53,6 +55,8 @@
|
||||||
dest: "{{ mosquitto_data }}/config/mosquitto.conf"
|
dest: "{{ mosquitto_data }}/config/mosquitto.conf"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
notify: restart mosquitto
|
notify: restart mosquitto
|
||||||
|
tags:
|
||||||
|
- mosquitto
|
||||||
|
|
||||||
- name: Ensure mosquitto is running
|
- name: Ensure mosquitto is running
|
||||||
docker_container:
|
docker_container:
|
||||||
|
@ -72,6 +76,8 @@
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
env:
|
env:
|
||||||
TZ: "{{ timezone }}"
|
TZ: "{{ timezone }}"
|
||||||
|
tags:
|
||||||
|
- mosquitto
|
||||||
|
|
||||||
- name: Check if nodered data dir exists
|
- name: Check if nodered data dir exists
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
|
|
Loading…
Reference in a new issue