Generate configuration using ansible for any project

Give outside projects the ability to consume kolla-ansible as a
config generation mechanism by allowing for the developer to define
a directory structure within /etc/kolla that fits a project's needs.

For example, kolla-kubernetes does not define configuration in terms
of serivces, but in terms of pods (groups of services).

Partially implements: blueprint multi-project-config

Change-Id: If08443aefcaf5fa5604b243b39a6a2d54e431cff
This commit is contained in:
Ryan Hallisey 2016-05-18 13:04:14 -04:00
parent a0a5a63527
commit c5f686ac43

View File

@ -6,8 +6,11 @@
# again. Persistent files allow for idempotency
container_config_directory: "/var/lib/kolla/config_files"
# The project to generate configuration files for
project: ""
# The directory to store the config files on the destination node
node_config_directory: "/etc/kolla"
node_config_directory: "/etc/kolla/{{ project }}"
###################