Skip to content

Commit

Permalink
add become: true
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Nov 17, 2023
1 parent 69745e9 commit 12c3bfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/cvmfs_server_meta_info/tasks/repo_meta_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12c3bfb

Please sign in to comment.