Commit 7fd815e7 authored by Alain Takoudjou's avatar Alain Takoudjou

playbook: use latest kernel 4.9 for debian 8 and 9

parent 62681800
--- ---
- name: Install kernel 4.6 on debian 8.0
apt: name=linux-image-4.6.0-0.bpo.1-amd64 state=latest default_release=jessie-backports update_cache=yes - name: Install kernel 4.9 on debian 9.0
apt: name=linux-image-4.9.0-5-amd64 state=latest update_cache=yes
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
- name: Install kernel 4.9 on debian 8.0
apt: name=linux-image-4.9.0-0.bpo.5-amd64 state=latest default_release=jessie-backports update_cache=yes
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "8" when: ansible_distribution == "Debian" and ansible_distribution_major_version == "8"
- name: Download kernel 4.6 from Debian8 repository to install on Debian 7 - name: Download kernel 4.6 from Debian8 repository to install on Debian 7
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment