Less initramfs modules
This commit is contained in:
@@ -12,6 +12,14 @@
|
||||
state: absent
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
|
||||
- name: Less modules in initramfs
|
||||
ansible.builtin.replace:
|
||||
path: /etc/initramfs-tools/initramfs.conf
|
||||
regexp: '^MODULES=most$'
|
||||
replace: 'MODULES=dep'
|
||||
notify:
|
||||
- Make initramfs
|
||||
|
||||
- name: Install CentOS epel
|
||||
yum:
|
||||
name: 'epel-release'
|
||||
|
||||
Reference in New Issue
Block a user