删除安装内核
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
- install_config/group_vars/platform.yml
|
- install_config/group_vars/platform.yml
|
||||||
roles:
|
roles:
|
||||||
- {role: framework, tags: framework}
|
- {role: framework, tags: framework}
|
||||||
- {role: kernel-ml, tags: kernel-ml}
|
|
||||||
- {role: mrzcpd, tags: mrzcpd}
|
- {role: mrzcpd, tags: mrzcpd}
|
||||||
- {role: sapp, tags: sapp}
|
- {role: sapp, tags: sapp}
|
||||||
- {role: firewall, tags: firewall}
|
- {role: firewall, tags: firewall}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1,8 +0,0 @@
|
|||||||
GRUB_TIMEOUT=5
|
|
||||||
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
|
|
||||||
GRUB_DEFAULT=saved
|
|
||||||
GRUB_DISABLE_SUBMENU=true
|
|
||||||
GRUB_TERMINAL="serial console"
|
|
||||||
GRUB_SERIAL_COMMAND="serial --speed=115200"
|
|
||||||
GRUB_CMDLINE_LINUX="crashkernel=auto console=ttyS0,115200 intel_iommu=on iommu=pt pci=realloc,assign-busses"
|
|
||||||
GRUB_DISABLE_RECOVERY="true"
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,21 +0,0 @@
|
|||||||
---
|
|
||||||
- name: "copy framework rpms to destination server"
|
|
||||||
synchronize:
|
|
||||||
src: "{{ role_path }}/files/"
|
|
||||||
dest: "/tmp/ansible_deploy/"
|
|
||||||
|
|
||||||
- name: "install kernels-ml"
|
|
||||||
yum:
|
|
||||||
name:
|
|
||||||
- /tmp/ansible_deploy/pkgconfig-0.27.1-4.el7.x86_64.rpm
|
|
||||||
- /tmp/ansible_deploy/zlib-devel-1.2.7-17.el7.x86_64.rpm
|
|
||||||
- /tmp/ansible_deploy/elfutils-libelf-devel-0.168-8.el7.x86_64.rpm
|
|
||||||
- /tmp/ansible_deploy/kernel/kernel-ml-5.1.8-1.el7.elrepo.x86_64.rpm
|
|
||||||
- /tmp/ansible_deploy/kernel/kernel-ml-devel-5.1.8-1.el7.elrepo.x86_64.rpm
|
|
||||||
- /tmp/ansible_deploy/dkms-2.7.1-1.el7.noarch.rpm
|
|
||||||
state: present
|
|
||||||
register: t_kernel_ml
|
|
||||||
|
|
||||||
- name: "set kernel-ml as default kernel"
|
|
||||||
command: /usr/sbin/grub2-set-default 0
|
|
||||||
when: t_kernel_ml.changed
|
|
||||||
Reference in New Issue
Block a user