Skip to content

Commit

Permalink
Expand comment on kernel upgrade
Browse files Browse the repository at this point in the history
- Add to the comment some information on why we're upgrading
- Update the link for docker's redirect and to point to a more
  specific fragment of the doc
  • Loading branch information
Dave Charness committed Jan 4, 2017
1 parent b90e21c commit 5647f16
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@
fail: msg="Required variable \"docker_version\" is not defined."
when: docker_version is not defined

# https://docs.docker.com/installation/ubuntulinux/
- name: Install backported kernel on pre-16.04 LTS
# https://docs.docker.com/engine/installation/linux/ubuntulinux/#/prerequisites-by-ubuntu-version
# - 12.04: Docker requires the 3.13 kernel version.
# Ensure the trusty kernel is installed.
# - 14.04: Support aufs via the linux-image-extra-* kernel package.
# Achieve this with the xenial kernel, which depends on the
# corresponding extra package, to address issues with kernels
# before 3.19 at the same time.
# https://github.com/docker/docker/issues/21704#issuecomment-235365424
- name: Install HWE kernel on pre-16.04 LTS
apt:
pkg: "{{ item.name }}"
state: latest
Expand Down

0 comments on commit 5647f16

Please sign in to comment.