feat: add tags to rabbitmq ansible jobs
This commit is contained in:
parent
4371b059ed
commit
f4fd2db3f3
1 changed files with 8 additions and 1 deletions
|
@ -120,10 +120,14 @@
|
|||
ansible.builtin.stat:
|
||||
path: "{{ rabbitmq_data }}"
|
||||
register: rabbitmq_dir
|
||||
tags:
|
||||
- rabbitmq
|
||||
- name: Fail if rabbitmq data dir does not exist
|
||||
ansible.builtin.fail:
|
||||
msg: "RabbitMQ data dir is missing, please restore from the backup!"
|
||||
when: not rabbitmq_dir.stat.exists
|
||||
tags:
|
||||
- rabbitmq
|
||||
|
||||
- name: Ensure rabbitmq docker container is running
|
||||
docker_container:
|
||||
|
@ -143,6 +147,8 @@
|
|||
- "{{ rabbitmq_data }}/bitnami:/bitnami:rw"
|
||||
- "{{ rabbitmq_data }}/etc_rabbitmq:/etc/rabbitmq:rw"
|
||||
restart_policy: unless-stopped
|
||||
tags:
|
||||
- rabbitmq
|
||||
|
||||
- name: Setup proxy site rabbitmq.n39.eu
|
||||
include_role:
|
||||
|
@ -150,7 +156,8 @@
|
|||
vars:
|
||||
site_name: "rabbitmq.n39.eu"
|
||||
proxy_port: 15672
|
||||
|
||||
tags:
|
||||
- rabbitmq
|
||||
|
||||
- name: Ensure Power Meter Pulse Gateway for 19i room is running
|
||||
docker_container:
|
||||
|
|
Loading…
Reference in a new issue