diff --git a/releasenotes/notes/oslomsg_configure_rename-bdd7b8b2fc97a5cc.yaml b/releasenotes/notes/oslomsg_configure_rename-bdd7b8b2fc97a5cc.yaml new file mode 100644 index 00000000..bc2f6a42 --- /dev/null +++ b/releasenotes/notes/oslomsg_configure_rename-bdd7b8b2fc97a5cc.yaml @@ -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``. diff --git a/roles/mq_setup/tasks/main.yml b/roles/mq_setup/tasks/main.yml index 66a6e733..88847f1e 100644 --- a/roles/mq_setup/tasks/main.yml +++ b/roles/mq_setup/tasks/main.yml @@ -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