Add service policies defenition
In order to allow definition of policies per service, we need to add variables to service roles, that will be passed to openstack.osa.mq_setup. Currently this can be handled by leveraging group_vars and overriding `oslomsg_rpc_policies` as a whole, but it's not obvious and can be non-trivial for some groups which are co-locating multiple services or in case of metal deployments. Change-Id: I1258e2dc385d8d004091167835e9c14e314cbc2b
This commit is contained in:
parent
719f8437f4
commit
2a9721eb26
@ -189,6 +189,7 @@ swift_reselleradmin_role: ResellerAdmin
|
||||
## Oslo Messaging
|
||||
|
||||
# Notify
|
||||
swift_oslomsg_notify_policies: []
|
||||
swift_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}"
|
||||
swift_oslomsg_notify_setup_host: "{{ (swift_oslomsg_notify_host_group in groups) | ternary(groups[swift_oslomsg_notify_host_group][0], 'localhost') }}"
|
||||
swift_oslomsg_notify_transport: "{{ oslomsg_notify_transport | default('rabbit') }}"
|
||||
|
@ -162,6 +162,7 @@
|
||||
_oslomsg_notify_password: "{{ swift_oslomsg_notify_password }}"
|
||||
_oslomsg_notify_vhost: "{{ swift_oslomsg_notify_vhost }}"
|
||||
_oslomsg_notify_transport: "{{ swift_oslomsg_notify_transport }}"
|
||||
_oslomsg_notify_policies: "{{ swift_oslomsg_notify_policies }}"
|
||||
tags:
|
||||
- always
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user