cmodfiied to add juju 2.0 support.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / openstack-dashboard.yaml
1     openstack-dashboard:
2       charm: "./{{ ubuntu.release }}/openstack-dashboard"
3       num_units: {{ unit_qty() }}
4       options:
5         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
6         secret: admin
7         webroot: /
8 {% if os.network.ipv6 %}
9         prefer-ipv6: {{ os.network.ipv6 }}
10 {% endif %}
11 {% if os.ha.mode == 'ha' %}
12         vip: {{ opnfv.vip.dashboard }}
13 {% endif %}
14 {% if os.beta.public_api %}
15         endpoint-type: internalURL
16 {% endif %}
17       to:
18 {% for unit_id in to_select() %}
19         - "lxd:nodes/{{ unit_id }}"
20 {% endfor %}