1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
5 - name: Install Arvados package pins
6 when: "arvados_pin_version != ''"
7 ansible.builtin.template:
9 dest: /etc/apt/preferences.d/arvados.pref
14 - name: Install Arvados apt repository
15 ansible.builtin.deb822_repository:
18 uris: "{{ arvados_apt_url }}/{{ ansible_distribution_release }}"
19 # As a convenient shortcut for users, if arvados_apt_suites looks like a
20 # suffix (i.e., it starts with `-`), prepend the current distro codename.
21 suites: "{{ ansible_distribution_release if arvados_apt_suites.startswith('-') else '' }}{{ arvados_apt_suites }}"
23 signed_by: "{{ arvados_apt_url }}/pubkey.gpg"