3fa0aa2ddc
Change-Id: I14187db31a009c150424ea28b854a78c9ae3941d Partially-Implements: blueprint replace-config-external
49 lines
2.2 KiB
YAML
49 lines
2.2 KiB
YAML
---
|
|
- include: ../../config.yml
|
|
vars:
|
|
service_name: "glance-registry"
|
|
config_source:
|
|
- "roles/glance/templates/glance-registry.conf.j2"
|
|
- "/etc/kolla/config/global.conf"
|
|
- "/etc/kolla/config/database.conf"
|
|
- "/etc/kolla/config/messaging.conf"
|
|
- "/etc/kolla/config/glance.conf"
|
|
- "/etc/kolla/config/glance/glance-registry.conf"
|
|
config_template_dest:
|
|
- "{{ node_templates_directory }}/glance-registry/glance.conf_minimal"
|
|
- "{{ node_templates_directory }}/glance-registry/glance.conf_global"
|
|
- "{{ node_templates_directory }}/glance-registry/glance.conf_database"
|
|
- "{{ node_templates_directory }}/glance-registry/glance.conf_messaging"
|
|
- "{{ node_templates_directory }}/glance-registry/glance.conf_augment"
|
|
- "{{ node_templates_directory }}/glance-registry/glance-registry.conf_augment"
|
|
config_dest: "{{ node_config_directory }}/glance-registry/glance-registry.conf"
|
|
|
|
- name: Copying over Glance Registry JSON configuration file
|
|
template:
|
|
src: "roles/glance/templates/glance-registry.json.j2"
|
|
dest: "{{ node_config_directory }}/glance-registry/config.json"
|
|
|
|
- include: ../../config.yml
|
|
vars:
|
|
service_name: "glance-api"
|
|
config_source:
|
|
- "roles/glance/templates/glance-api.conf.j2"
|
|
- "/etc/kolla/config/global.conf"
|
|
- "/etc/kolla/config/database.conf"
|
|
- "/etc/kolla/config/messaging.conf"
|
|
- "/etc/kolla/config/glance.conf"
|
|
- "/etc/kolla/config/glance/glance-api.conf"
|
|
config_template_dest:
|
|
- "{{ node_templates_directory }}/glance-api/glance.conf_minimal"
|
|
- "{{ node_templates_directory }}/glance-api/glance.conf_global"
|
|
- "{{ node_templates_directory }}/glance-api/glance.conf_database"
|
|
- "{{ node_templates_directory }}/glance-api/glance.conf_messaging"
|
|
- "{{ node_templates_directory }}/glance-api/glance.conf_augment"
|
|
- "{{ node_templates_directory }}/glance-api/glance-api.conf_augment"
|
|
config_dest: "{{ node_config_directory }}/glance-api/glance-api.conf"
|
|
|
|
- name: Copying over Glance API JSON configuration file
|
|
template:
|
|
src: "roles/glance/templates/glance-api.json.j2"
|
|
dest: "{{ node_config_directory }}/glance-api/config.json"
|