diff --git a/roles/cvmfs_server_meta_info/tasks/repo_meta_info.yml b/roles/cvmfs_server_meta_info/tasks/repo_meta_info.yml index 56a8a59c..adb4a903 100644 --- a/roles/cvmfs_server_meta_info/tasks/repo_meta_info.yml +++ b/roles/cvmfs_server_meta_info/tasks/repo_meta_info.yml @@ -26,6 +26,7 @@ ansible.builtin.command: cmd: "cvmfs_server update-repoinfo -f {{ tmp_json_file.path }} {{ this_cvmfs_repo.repository }}" when: (current_repo_meta.stdout | checksum) != json_file_stat.stat.checksum + become: true become_user: "{{ cvmfs_repo_owner | default('root') }}" - name: Remove temporary json file