rthallisey 180e8c3331 Replace config-external with a JSON file for Keystone
Change-Id: I4c403edb7cd16f587f30a313c1943f070512eda3
Partially-Implements: blueprint replace-config-external
2015-09-18 15:19:06 -04:00

28 lines
1.1 KiB
YAML

---
- include: ../../config.yml
vars:
service_name: "keystone"
config_source:
- "roles/keystone/templates/keystone.conf.j2"
- "/etc/kolla/config/global.conf"
- "/etc/kolla/config/database.conf"
- "/etc/kolla/config/messaging.conf"
- "/etc/kolla/config/keystone.conf"
config_template_dest:
- "{{ node_templates_directory }}/keystone/keystone.conf_minimal"
- "{{ node_templates_directory }}/keystone/keystone.conf_global"
- "{{ node_templates_directory }}/keystone/keystone.conf_database"
- "{{ node_templates_directory }}/keystone/keystone.conf_messaging"
- "{{ node_templates_directory }}/keystone/keystone.conf_augment"
config_dest: "{{ node_config_directory }}/keystone/keystone.conf"
- name: Copying over Keystone JSON configuration file
template:
src: "roles/keystone/templates/keystone.json.j2"
dest: "{{ node_config_directory }}/keystone/config.json"
- name: Copying over config(s)
template:
src: "wsgi-keystone.conf.j2"
dest: "{{ node_config_directory }}/keystone/wsgi-keystone.conf"