Replace keystone's wsgi config with custom config

Ansible's template action supports replacing keystone's wsgi default
config with custom config, it should only add with_first_found param
to config.yml to support this.

Change-Id: Id66302802db9a57188067982ea697f16faa1d8eb
Closes-Bug: #1609655
This commit is contained in:
jackning 2016-08-04 03:41:40 -04:00
parent f4a9667767
commit 1c0ba85d54

View File

@ -62,5 +62,9 @@
- name: Copying over wsgi-keystone.conf
template:
src: "wsgi-keystone.conf.j2"
src: "{{ item }}"
dest: "{{ node_config_directory }}/keystone/wsgi-keystone.conf"
with_first_found:
- "{{ node_custom_config }}/keystone/{{ inventory_hostname }}/wsgi-keystone.conf"
- "{{ node_custom_config }}/keystone/wsgi-keystone.conf"
- "wsgi-keystone.conf.j2"