소스 검색
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
No known key found for this signature in database
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: |
|
|
|
|