Skip to content

Commit

Permalink
Use trusty kernels, not raring kernels, on Ubuntu 12.04
Browse files Browse the repository at this point in the history
  • Loading branch information
angstwad committed Apr 30, 2015
1 parent f0c8fbc commit a4862b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
msg: "{{ ansible_distribution_version }} is not an acceptable version of Ubuntu for this role"
when: ansible_distribution_version|version_compare(12.04, '<') or ansible_distribution_version|version_compare(12.10, '=')

- name: Install raring kernel onto 12.04
- name: Install backported trusty kernel onto 12.04
apt:
pkg: "{{ item }}"
state: "{{ kernel_pkg_state }}"
update_cache: yes
cache_valid_time: 600
with_items:
- linux-image-generic-lts-raring
- linux-headers-generic-lts-raring
- linux-image-generic-lts-trusty
- linux-headers-generic-lts-trusty
register: kernel_result
when: "ansible_distribution_version == '12.04'"

Expand Down

0 comments on commit a4862b1

Please sign in to comment.