to correct mysql error.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / rabbitmq.yaml
1     rabbitmq-server:
2       charm: "./{{ ubuntu.release }}/rabbitmq-server"
3       num_units: {{ unit_qty() }}
4 {% if os.service.bindings %}
5       bindings:
6         amqp: internal-api
7 {% endif %}
8       options:
9 {% if opnfv.storage_dict.ceph is defined %}
10         ceph-osd-replication-count: {{ unit_ceph_qty() }}
11 {% endif %}
12 {% if os.network.ipv6 %}
13         prefer-ipv6: {{ os.network.ipv6 }}
14 {% endif %}
15 {% if os.ha.mode == 'ha' %}
16         #vip: {{ opnfv.vip.rabbitmq }}
17         min-cluster-size: {{ unit_qty() }}
18 {% endif %}
19       to:
20 {% for unit_id in to_select() %}
21         - "lxd:nodes/{{ unit_id }}"
22 {% endfor %}