Przeglądaj źródła

Merge pull request #841 from Peetz0r/bullseye

Use Debian Buster Docker repo on Debian Bullseye
pull/843/head
Slavi Pantaleev 5 lat temu
committed by GitHub
rodzic
commit
63586acfff
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 8 dodań i 1 usunięć
  1. +8
    -1
      roles/matrix-base/tasks/server_base/setup_debian.yml

+ 8
- 1
roles/matrix-base/tasks/server_base/setup_debian.yml Wyświetl plik

@@ -23,7 +23,14 @@
repo: "deb [arch={{ matrix_debian_arch }}] https://download.docker.com/linux/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} stable"
state: present
update_cache: yes
when: matrix_docker_installation_enabled|bool and matrix_docker_package_name == 'docker-ce'
when: matrix_docker_installation_enabled|bool and matrix_docker_package_name == 'docker-ce and not ansible_distribution_release == 'bullseye'

- name: Ensure Docker repository is enabled (using Debian Buster on Debian Bullseye, for which there is no Docker yet)
apt_repository:
repo: "deb [arch={{ matrix_debian_arch }}] https://download.docker.com/linux/{{ ansible_distribution|lower }} buster stable"
state: present
update_cache: yes
when: matrix_docker_installation_enabled|bool and matrix_docker_package_name == 'docker-ce and ansible_distribution_release == 'bullseye'

- name: Ensure APT packages are installed
apt:


Ładowanie…
Anuluj
Zapisz