瀏覽代碼
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
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有
1 個檔案被更改,包括
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: |
|
|
|
|