summaryrefslogtreecommitdiffstats
path: root/ci/bundle_tpl/glance.yaml
blob: 849993261bec23575804486b1344aaffb6945a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
    glance:
      charm: "local:{{ ubuntu.release }}/glance"
      num_units: {{ unit_qty() }}
      options:
{% if os.ha.mode == 'ha' %}
        vip: {{ opnfv.vip.glance }}
{% endif %}
{% if os.beta.public_api %}
        os-public-hostname: api.{{ opnfv.domain }}
{% endif %}
      to:
{% for unit_id in to_select() %}
        - "lxc:nodes={{ unit_id }}"
{% endfor %}