Elevate privileges for copying gnocchi policy.json
Change-Id: I616a30acf38a61265f3005c712767d5221abf5c5
Closes-Bug: #1830723
(cherry picked from commit 4a60dc21e5
)
This commit is contained in:
parent
6ecab061f9
commit
dd6408dbce
@ -100,6 +100,7 @@
|
|||||||
src: "{{ gnocchi_policy_file_path }}"
|
src: "{{ gnocchi_policy_file_path }}"
|
||||||
dest: "{{ node_config_directory }}/{{ item.key }}/{{ gnocchi_policy_file }}"
|
dest: "{{ node_config_directory }}/{{ item.key }}/{{ gnocchi_policy_file }}"
|
||||||
mode: "0660"
|
mode: "0660"
|
||||||
|
become: true
|
||||||
register: gnocchi_policy_overwriting
|
register: gnocchi_policy_overwriting
|
||||||
when:
|
when:
|
||||||
- gnocchi_policy_file is defined
|
- gnocchi_policy_file is defined
|
||||||
|
Loading…
Reference in New Issue
Block a user