kayobe/ansible/roles/kolla-build/templates/kolla-build.conf.j2
Mark Goddard cbc9ef78d6 Support configuration of Kolla build sources
Adding a single non-default source for bifrost-base
2017-03-03 15:58:00 +00:00

36 lines
942 B
Django/Jinja

# {{ ansible_managed }}
[DEFAULT]
# Base container image distribution.
base={{ kolla_base_distro }}
# Method of OpenStack install. Valid options are [ binary, source ]
type={{ kolla_install_type }}
# Docker namespace to use for Kolla images.
namespace={{ kolla_docker_namespace }}
# Docker image tag to apply.
tag={{ kolla_openstack_release }}
# Path to a file containing template overrides.
template_override={{ kolla_config_path }}/template-override.j2
{% for source_name, source_def in kolla_sources.items() %}
[{{ source_name }}]
{% if source_def.type is defined %}
# Type of source for {{ source_name }}.
type = {{ source_def.type }}
{% endif %}
{% if source_def.location is defined %}
# Location of source for {{ source_name }}.
location = {{ source_def.location }}
{% endif %}
{% if source_def.reference is defined %}
# Reference of source for {{ source_name }}.
reference = {{ source_def.reference }}
{% endif %}
{% endfor %}