diff options
| author | Ryan Hallisey <rhallise@redhat.com> | 2016-05-18 13:04:14 -0400 |
|---|---|---|
| committer | Ryan Hallisey <rhallise@redhat.com> | 2016-05-23 03:15:37 -0400 |
| commit | c5f686ac43e258fab16d2d9d50d26ab7ea205c0e (patch) | |
| tree | af06751383156cee6fa79fc9a3445f8532411a9f | |
| parent | a0a5a63527c3c6991673878b8dec7346b91bf5bd (diff) | |
| download | kolla-c5f686ac43e258fab16d2d9d50d26ab7ea205c0e.tar.gz kolla-c5f686ac43e258fab16d2d9d50d26ab7ea205c0e.zip | |
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
| -rw-r--r-- | ansible/group_vars/all.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index 8d9f408fd..7236b6a6c 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -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 }}" ################### |
