use a rabbitmq tag var

This commit is contained in:
Louis Abel 2024-04-01 23:05:04 -07:00
parent bc747aa564
commit a3c96b897c
Signed by: label
GPG Key ID: 2A6975660E424560

View File

@ -1,14 +1,14 @@
---
# Stands up a RabbitMQ Cluster
- name: Configure RabbitMQ
hosts: rabbitmq_rlp
hosts: rabbitmq_{{ rabbitmq_cluster_tag }}
become: true
vars_files:
# vars/vaults/encpass.yml
- vars/common.yml
- vars/rabbitmq/rlp/rabbitmq.yml
- vars/rabbitmq/rlp/rabbitmq_vhost.yml
- vars/rabbitmq/rlp/rabbitmq_users.yml
- "vars/rabbitmq/{{ rabbitmq_cluster_tag }}/rabbitmq.yml"
- "vars/rabbitmq/{{ rabbitmq_cluster_tag }}rlp/rabbitmq_vhost.yml"
- "vars/rabbitmq/{{ rabbitmq_cluster_tag }}rlp/rabbitmq_users.yml"
# This is to try to avoid the handler issue in pre/post tasks
handlers: