Skip to content

Commit

Permalink
update support for docker.io on 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
James Bengard committed Jul 24, 2019
1 parent 26196b8 commit 4d469fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions tasks/docker-io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---

- name: Install Docker IO
apt:
name: docker.io
state: present
register: r_docker_package_install
6 changes: 5 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@

- name: Install Docker Engine
include: docker-engine.yml
when: docker_version != '1.5.0'
when: docker_version != '1.5.0' and (ansible_distribution_version != '16.04')

- name: Install Docker IO (CE)
include: docker-io.yml
when: ansible_distribution_version == '16.04'

# if we changed the config, but didn't reinstall docker, then restart it
- name: Restart docker on config change
Expand Down

0 comments on commit 4d469fe

Please sign in to comment.