When copying glance-swift.conf ensure mode and become used

This makes it so that the file copied has the same perms
as the other copied files and that become is used so that the
copy works (otherwise it does not).

Change-Id: I22f39ef30760701e174f304de6ff959ff60607ad
This commit is contained in:
Joshua Harlow 2018-04-06 13:06:17 -07:00
parent 154994a3e1
commit 0adee7b589
1 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,8 @@
- "{{ node_custom_config }}/glance/glance-swift.conf"
- "{{ node_custom_config }}/glance/{{ inventory_hostname }}/glance-swift.conf"
dest: "{{ node_config_directory }}/glance-api/glance-swift.conf"
mode: "0660"
become: true
register: glance_swift_conf
when:
- glance_api.enabled | bool