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

View File

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