Merge "Rename _oslomsg_configure_* to _oslomsg_*_configure"

This commit is contained in:
Zuul 2024-05-09 02:38:33 +00:00 committed by Gerrit Code Review
commit 2794fd68da
2 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,15 @@
---
upgrade:
- |
Variables ``_oslomsg_configure_rpc`` and ``_oslomsg_configure_notify``
renamed to ``_oslomsg_rpc_configure`` and ``_oslomsg_notify_configure``
corresponsively to align variables naming convention in the role.
Old variable names are not used or respected anymore.
deprecations:
- |
Variables ``_oslomsg_configure_rpc`` and ``_oslomsg_configure_notify`` are
deprecated in favor of ``_oslomsg_rpc_configure`` and
``_oslomsg_notify_configure``.

View File

@ -34,7 +34,7 @@
loop_control:
loop_var: __mq_vhost
when:
- "(_oslomsg_configure_rpc | default(_oslomsg_rpc_transport is defined))"
- "(_oslomsg_rpc_configure | default(_oslomsg_rpc_transport is defined))"
- "(_oslomsg_rpc_transport is defined) and (_oslomsg_rpc_transport == 'rabbit')"
tags:
- common-rabbitmq
@ -42,7 +42,7 @@
- name: Setup Notify MQ Service (RabbitMQ)
delegate_to: "{{ _oslomsg_notify_setup_host }}"
when:
- "(_oslomsg_configure_notify | default(_oslomsg_notify_transport is defined))"
- "(_oslomsg_notify_configure | default(_oslomsg_notify_transport is defined))"
- "(_oslomsg_notify_transport is defined) and (_oslomsg_notify_transport == 'rabbit')"
tags:
- common-rabbitmq