Commit 106da60e authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: debian{9,10}: Track distro kernel updates

See merge request nexedi/slapos.package!133
parents 3d0c4765 177c353e
--- ---
- name: Install Debian stable-proposed-updates repository # Debian 9/10: install latest kernel stable updates provided by the distribution.
apt_repository: repo='deb http://deb.debian.org/debian/ oldstable-proposed-updates main' state=present update_cache=yes # - good for security
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "9" # - needed to keep in sync, with nxd-fuse-dkms which through dkms installs
# latest linux-headers-amd64. If those headers won't match installed
- name: Install kernel 4.9 on debian 9.0 # kernel, nxd-fuse will be skipped to compile, fail to load and FUSE won't
apt: name=linux-image-4.9.0-13-amd64 state=latest default_release=oldstable-proposed-updates update_cache=no # be working at all:
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "9" # https://lab.nexedi.com/nexedi/slapos.package/merge_requests/132#note_120438
- name: Debian 9/10 - Install latest stable updates for distribution kernel
apt: name=linux-image-amd64 state=latest update_cache=yes
when: ansible_distribution == "Debian" and
(ansible_distribution_major_version == "9" or ansible_distribution_major_version == "10")
notify: [ 'Mark to reboot' ] notify: [ 'Mark to reboot' ]
- name: Install Debian jessie-backports repository - name: Install Debian jessie-backports repository
......
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