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:
parent
f4a9667767
commit
1c0ba85d54
@ -62,5 +62,9 @@
|
|||||||
|
|
||||||
- name: Copying over wsgi-keystone.conf
|
- name: Copying over wsgi-keystone.conf
|
||||||
template:
|
template:
|
||||||
src: "wsgi-keystone.conf.j2"
|
src: "{{ item }}"
|
||||||
dest: "{{ node_config_directory }}/keystone/wsgi-keystone.conf"
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user