Skip to content

Commit

Permalink
Use new and preferred S3-based mirror for CernVM packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge authored and btravouillon committed Jan 27, 2025
1 parent bec3c9e commit 71fd7f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tasks/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@

- name: Download cvmfs_preload utility when desired
ansible.builtin.get_url:
url: https://cvmrepo.web.cern.ch/cvmrepo/preload/cvmfs_preload
url: https://cvmrepo.s3.cern.ch/cvmrepo/preload/cvmfs_preload
dest: "{{ cvmfs_preload_path }}/cvmfs_preload"
owner: root
group: root
Expand Down
8 changes: 4 additions & 4 deletions tasks/init_debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@

- name: Install CernVM apt key
ansible.builtin.apt_key:
url: https://cvmrepo.web.cern.ch/cvmrepo/apt/cernvm.gpg
url: https://cvmrepo.s3.cern.ch/cvmrepo/apt/cernvm.gpg

- name: Configure CernVM apt repository
ansible.builtin.apt_repository:
filename: cernvm.list
mode: 422
repo: deb [allow-insecure=true] https://cvmrepo.web.cern.ch/cvmrepo/apt/ {{ ansible_distribution_release }}-prod main
repo: deb [allow-insecure=true] https://cvmrepo.s3.cern.ch/cvmrepo/apt/ {{ ansible_distribution_release }}-prod main
when: ansible_distribution != 'Ubuntu'

- name: Configure CernVM apt repository
ansible.builtin.apt_repository:
filename: cernvm.list
mode: 422
repo: deb [allow-insecure=true] https://cvmrepo.web.cern.ch/cvmrepo/apt/ {{ ansible_distribution_release }}-prod main
repo: deb [allow-insecure=true] https://cvmrepo.s3.cern.ch/cvmrepo/apt/ {{ ansible_distribution_release }}-prod main
when: ansible_distribution == 'Ubuntu' and ansible_distribution_release in ('bionic', 'xenial', 'precise', 'focal', 'jammy', 'noble')

# There are no packages for any of the non LTS versions so good
Expand All @@ -29,7 +29,7 @@
ansible.builtin.apt_repository:
filename: cernvm.list
mode: 422
repo: deb [allow-insecure=true] https://cvmrepo.web.cern.ch/cvmrepo/apt/ xenial-prod main
repo: deb [allow-insecure=true] https://cvmrepo.s3.cern.ch/cvmrepo/apt/ xenial-prod main
when: ansible_distribution == 'Ubuntu' and ansible_distribution_release not in ('bionic', 'xenial', 'precise', 'focal', 'jammy', 'noble')

- name: Install CernVM-FS packages and dependencies (apt)
Expand Down
4 changes: 2 additions & 2 deletions tasks/init_redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
loop:
- name: cernvm
description: CernVM packages
baseurl: http://cvmrepo.web.cern.ch/cvmrepo/yum/cvmfs/EL/$releasever/$basearch/
baseurl: http://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs/EL/$releasever/$basearch/
- name: cernvm-config
description: CernVM-FS extra config packages
baseurl: http://cvmrepo.web.cern.ch/cvmrepo/yum/cvmfs-config/EL/$releasever/$basearch/
baseurl: http://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs-config/EL/$releasever/$basearch/

- name: Install CernVM yum key
ansible.builtin.copy:
Expand Down

0 comments on commit 71fd7f0

Please sign in to comment.