From 39cb42ecf597cb9038a7d2d356362fea631f5773 Mon Sep 17 00:00:00 2001
From: Joshua Harlow <jxharlow@godaddy.com>
Date: Wed, 14 Mar 2018 14:00:24 -0700
Subject: [PATCH] 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
---
 ansible/roles/glance/tasks/config.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/glance/tasks/config.yml b/ansible/roles/glance/tasks/config.yml
index 4d76a2eba3..39d4542aff 100644
--- a/ansible/roles/glance/tasks/config.yml
+++ b/ansible/roles/glance/tasks/config.yml
@@ -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
-- 
GitLab