diff --git a/ansible/roles/keystone/tasks/config.yml b/ansible/roles/keystone/tasks/config.yml index b77f654e8a..c818d6fe61 100644 --- a/ansible/roles/keystone/tasks/config.yml +++ b/ansible/roles/keystone/tasks/config.yml @@ -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]