Glance policy copy is not using correct name

This is currently using the full path for the destination
which doesn't appear to be what is wanted; instead the
actual file name should be used.

Closes-Bug: 1757532

Change-Id: If85e98097a0d0e0b55d0b2993185c8591e6dd10e
This commit is contained in:
Joshua Harlow 2018-03-14 14:00:24 -07:00
parent e66cb5d46b
commit 39cb42ecf5

@ -97,7 +97,7 @@
- name: Copying over existing policy file
template:
src: "{{ glance_policy_file_path }}"
dest: "{{ node_config_directory }}/{{ item.key }}/{{ glance_policy_file_path }}"
dest: "{{ node_config_directory }}/{{ item.key }}/{{ glance_policy_file }}"
mode: "0660"
become: true
register: glance_policy_overwriting