adding bionic support.
[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         "": *oam-space
7         amqp: *internal-space
8         cluster: *internal-space
9 {% endif %}
10       series: {{ ubuntu.release }}
11       options:
12         source: *openstack-origin
13 {% if opnfv.storage_dict.ceph is defined %}
14         ceph-osd-replication-count: {{ unit_ceph_qty() }}
15 {% endif %}
16 {% if os.network.ipv6 %}
17         prefer-ipv6: {{ os.network.ipv6 }}
18 {% endif %}
19 {% if os.ha.mode == 'ha' %}
20         min-cluster-size: {{ unit_qty() }}
21 {% endif %}
22       to:
23 {% for unit_id in to_select() %}
24         - "lxd:nodes/{{ unit_id }}"
25 {% endfor %}