Ansible-Linux_Base/roles/base/tasks/debian_kernel.yml

9 lines
250 B
YAML

---
# file: roles/base/tasks/debian_kernel.yml
- name: Install linux-azure kernel
package:
name: linux-azure
state: latest
notify: Reboot Host
when: ansible_virtualization_role == "guest" and ansible_virtualization_type == "VirtualPC"