diff --git a/ansible/roles/keystone/tasks/config.yml b/ansible/roles/keystone/tasks/config.yml index 12c3f47eb3..cfca7dbad1 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"