add ldap conf for keystone and horizon

This commit is contained in:
Kevin TIBI 2017-11-16 10:01:15 +00:00
parent a451ce4142
commit bdb90c0ed9

View File

@ -59,6 +59,7 @@
find: find:
path: "{{ item.src }}" path: "{{ item.src }}"
patterns: "{{ item.patterns }}" patterns: "{{ item.patterns }}"
recurse: yes
with_items: "{{ kolla_openstack_custom_config }}" with_items: "{{ kolla_openstack_custom_config }}"
register: find_src_result register: find_src_result
@ -72,7 +73,7 @@
- name: Ensure extra configuration files exist - name: Ensure extra configuration files exist
template: template:
src: "{{ item.1.path }}" src: "{{ item.1.path }}"
dest: "{{ item.0.item.dest }}/{{ item.1.path | basename }}" dest: "{{ item.0.item.dest }}/{{ item.1.path | relpath(item.0.item.src) }}"
mode: 0640 mode: 0640
with_subelements: with_subelements:
- "{{ find_src_result.results }}" - "{{ find_src_result.results }}"