diff --git a/ansible/roles/gnocchi/tasks/config.yml b/ansible/roles/gnocchi/tasks/config.yml index bf7f406945..88fca1614b 100644 --- a/ansible/roles/gnocchi/tasks/config.yml +++ b/ansible/roles/gnocchi/tasks/config.yml @@ -100,6 +100,7 @@ src: "{{ gnocchi_policy_file_path }}" dest: "{{ node_config_directory }}/{{ item.key }}/{{ gnocchi_policy_file }}" mode: "0660" + become: true register: gnocchi_policy_overwriting when: - gnocchi_policy_file is defined