diff options
author | David Blaisonneau <david.blaisonneau@orange.com> | 2016-06-30 18:43:58 +0200 |
---|---|---|
committer | David Blaisonneau <david.blaisonneau@orange.com> | 2016-06-30 18:44:23 +0200 |
commit | 8cc46e65c20745e241b68b3d960fc3c96d64b970 (patch) | |
tree | 04f110498124cab3108d4992dc465146102e21ed /ci/bundle_tpl/keystone.yaml | |
parent | 498d246c5b7398627d929cb50274eb55cba930cf (diff) |
[JOID] generate bundle using jinja templates
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
Diffstat (limited to 'ci/bundle_tpl/keystone.yaml')
-rw-r--r-- | ci/bundle_tpl/keystone.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ci/bundle_tpl/keystone.yaml b/ci/bundle_tpl/keystone.yaml new file mode 100644 index 00000000..18f5cc63 --- /dev/null +++ b/ci/bundle_tpl/keystone.yaml @@ -0,0 +1,14 @@ + keystone: + charm: "local:{{ ubuntu.release }}/keystone" + num_units: {{ unit_qty() }} + options: + admin-password: {{ opnfv.admin_password | default(os.admin.password) }} + admin-token: {{ os.admin.name }} + ha-mcastport: 5403 +{% if os.ha.mode == 'ha' %} + vip: {{ opnfv.vip.keystone }} +{% endif %} + to: +{% for unit_id in to_select() %} + - "lxc:nodes={{ unit_id }}" +{% endfor %} |