瀏覽代碼

Merge pull request #311 from hardye/non-debian-docker-ce-fix

Fix: Restrict a Debian-specific task to Debian OS.
pull/314/head
Slavi Pantaleev 6 年之前
committed by GitHub
父節點
當前提交
334596436d
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      roles/matrix-base/tasks/setup_server_base.yml

+ 1
- 1
roles/matrix-base/tasks/setup_server_base.yml 查看文件

@@ -75,7 +75,7 @@
- docker-ce
state: latest
update_cache: yes
when: "'docker.io' not in ansible_facts.packages"
when: ansible_os_family == 'Debian' and 'docker.io' not in ansible_facts.packages

- name: Ensure Docker is started and autoruns
service:


Loading…
取消
儲存