Skip to content

Instantly share code, notes, and snippets.

@wkf
Created April 16, 2014 15:32
Show Gist options
  • Select an option

  • Save wkf/10894631 to your computer and use it in GitHub Desktop.

Select an option

Save wkf/10894631 to your computer and use it in GitHub Desktop.
---
- hosts: all
sudo: yes
tasks:
- name: add backports apt repo
apt_repository: repo="deb http://ftp.debian.org/debian wheezy-backports main" state=present
- name: update kernel
apt: pkg={{ item }} default_release=wheezy-backports update_cache=true state=latest
with_items:
- linux-image-3.12-0.bpo.1-amd64
- linux-headers-3.12-0.bpo.1-amd64
register: kernel
- name: recompile vmware kernel modules
command: /usr/bin/vmware-config-tools.pl -d
when: kernel.changed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment