Skip to content

Commit 30cbda1

Browse files
committed
add changed_when true when the metadata is updated
1 parent 2172fc8 commit 30cbda1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/cvmfs_server_meta_info/tasks/repo_meta_info.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
- name: Update the repository's meta information
2626
ansible.builtin.command:
2727
cmd: "cvmfs_server update-repoinfo -f {{ tmp_json_file.path }} {{ this_cvmfs_repo.repository }}"
28+
changed_when: true
2829
when: (current_repo_meta.stdout | checksum) != json_file_stat.stat.checksum
2930
become_user: "{{ cvmfs_repo_owner | default('root') }}"
3031

0 commit comments

Comments
 (0)