Created
April 16, 2014 15:32
-
-
Save wkf/10894631 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - 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