Fix keystone reconfigure

Change-Id: I15c23a3445ab1cbc92c4c1258f37844bf244ebf0
Partically-implements: blueprint better-reconfigure
This commit is contained in:
Eduardo Gonzalez 2017-01-18 14:56:06 +00:00
parent 4357f6df38
commit bb7b8d0837

@ -52,7 +52,7 @@
- "{{ node_custom_config }}/database.conf"
- "{{ node_custom_config }}/messaging.conf"
- "{{ node_custom_config }}/keystone.conf"
- "{{ node_custom_config }}/keystone/{{ item }}.conf"
- "{{ node_custom_config }}/keystone/{{ item.key }}.conf"
- "{{ node_custom_config }}/keystone/{{ inventory_hostname }}/keystone.conf"
dest: "{{ node_config_directory }}/{{ item.key }}/keystone.conf"
register: keystone_confs
@ -83,7 +83,7 @@
- name: Copying over existing policy.json
template:
src: "{{ node_custom_config }}/keystone/policy.json"
dest: "{{ node_config_directory }}/{{ item }}/policy.json"
dest: "{{ node_config_directory }}/{{ item.key }}/policy.json"
register: keystone_policy_jsons
when:
- inventory_hostname in groups[item.value.group]