Skip to content

Commit 45aa2ff

Browse files
committed
use localhost, since this is always running on stratum 0
1 parent 27bc491 commit 45aa2ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/cvmfs_server_meta_info/tasks/repo_meta_info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
- name: Get the current meta information of this repository from the server
2020
ansible.builtin.command:
21-
cmd: "cvmfs_swissknife info -M -r {{ this_cvmfs_repo_meta['recommended-stratum0'] }}"
21+
cmd: "cvmfs_swissknife info -M -r http://localhost:{{ cvmfs_stratum0_http_ports[0] | default('80') }}/cvmfs/{{ this_cvmfs_repo.repository }}"
2222
changed_when: false
2323
register: current_repo_meta
2424

0 commit comments

Comments
 (0)