1020340f1470753606caf0f5fcd11df935d3ba88
[joid.git] / ci / bundle_tpl / rabbitmq.yaml
1     rabbitmq-server:
2       charm: "local:{{ ubuntu.release }}/rabbitmq-server"
3       num_units: {{ unit_qty() }}
4       options:
5 {% if os.ha.mode == 'ha' %}
6         vip: {{ opnfv.vip.rabbitmq }}
7         min-cluster-size: {{ unit_qty() }}
8 {% endif %}
9       to:
10 {% for unit_id in to_select() %}
11         - "lxc:nodes={{ unit_id }}"
12 {% endfor %}