diff options
Diffstat (limited to 'ci/bundle_tpl/rabbitmq.yaml')
-rw-r--r-- | ci/bundle_tpl/rabbitmq.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/bundle_tpl/rabbitmq.yaml b/ci/bundle_tpl/rabbitmq.yaml index 35e07e90..d7f9c127 100644 --- a/ci/bundle_tpl/rabbitmq.yaml +++ b/ci/bundle_tpl/rabbitmq.yaml @@ -1,6 +1,11 @@ rabbitmq-server: charm: "local:{{ ubuntu.release }}/rabbitmq-server" num_units: {{ unit_qty() }} + options: +{% if os.ha.mode == 'ha' %} + vip: {{ opnfv.vip.mysql }} + min-cluster-size: {{ unit_qty() }} +{% endif %} to: {% for unit_id in to_select() %} - "lxc:nodes={{ unit_id }}" |