ソースを参照

Merge pull request #1232 from thedanbob/debian-bullseye

docker-ce is now available for Debian Bullseye
pull/1234/head
Slavi Pantaleev 4年前
committed by GitHub
コミット
71c7d0ba7f
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加8行の削除
  1. +1
    -8
      roles/matrix-base/tasks/server_base/setup_debian.yml

+ 1
- 8
roles/matrix-base/tasks/server_base/setup_debian.yml ファイルの表示

@@ -23,14 +23,7 @@
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' 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'
when: matrix_docker_installation_enabled|bool and matrix_docker_package_name == 'docker-ce'

- name: Ensure APT packages are installed
apt:


読み込み中…
キャンセル
保存