Skip to content
Snippets Groups Projects
Commit 0adee7b5 authored by Joshua Harlow's avatar Joshua Harlow
Browse files

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
parent 154994a3
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,8 @@ ...@@ -86,6 +86,8 @@
- "{{ node_custom_config }}/glance/glance-swift.conf" - "{{ node_custom_config }}/glance/glance-swift.conf"
- "{{ node_custom_config }}/glance/{{ inventory_hostname }}/glance-swift.conf" - "{{ node_custom_config }}/glance/{{ inventory_hostname }}/glance-swift.conf"
dest: "{{ node_config_directory }}/glance-api/glance-swift.conf" dest: "{{ node_config_directory }}/glance-api/glance-swift.conf"
mode: "0660"
become: true
register: glance_swift_conf register: glance_swift_conf
when: when:
- glance_api.enabled | bool - glance_api.enabled | bool
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment