aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/keystone/tasks/config.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/ansible/roles/keystone/tasks/config.yml b/ansible/roles/keystone/tasks/config.yml
index 12c3f47eb..cfca7dbad 100644
--- a/ansible/roles/keystone/tasks/config.yml
+++ b/ansible/roles/keystone/tasks/config.yml
@@ -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"