Commit 30672d05 authored by nanahira's avatar nanahira

don't change kernel for pve

parent ced6d173
Pipeline #4449 failed with stage
in 10 seconds
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
when: xanmod and ansible_os_family == 'Debian' when: xanmod and ansible_os_family == 'Debian'
- name: upgrade kernel - name: upgrade kernel
include_tasks: '{{ansible_distribution}}.yml' include_tasks: '{{ansible_distribution}}.yml'
when: (ansible_distribution == 'Debian' and not xanmod) or ansible_distribution == 'CentOS' when: (ansible_distribution == 'Debian' and not xanmod and not ansible_kernel.endswith("-pve")) or ansible_distribution == 'CentOS'
- name: Debian after tasks - name: Debian after tasks
include_tasks: 'Debian-after.yml' include_tasks: 'Debian-after.yml'
when: ansible_distribution == 'Debian' when: ansible_distribution == 'Debian'
......
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