Merge "Add support for deploying mcapi control plane k8s on rocky linux"
This commit is contained in:
commit
f0ecb05150
@ -58,8 +58,12 @@
|
||||
- hostvars['localhost']['resolvconf_enabled'] | bool
|
||||
|
||||
- name: ensure kernel headers are installed on host
|
||||
vars:
|
||||
_kernel_package_prefix:
|
||||
redhat: 'kernel-headers'
|
||||
debian: 'linux-headers'
|
||||
package:
|
||||
name: "linux-headers-{{ ansible_facts['kernel'] }}"
|
||||
name: "{{ _kernel_package_prefix[ansible_facts['os_family']|lower]}}-{{ ansible_facts['kernel'] }}"
|
||||
state: present
|
||||
delegate_to: "{{ physical_host }}"
|
||||
when: not is_metal
|
||||
|
Loading…
x
Reference in New Issue
Block a user