We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a909592 commit 334e203Copy full SHA for 334e203
tasks/sysctl.yml
@@ -6,6 +6,10 @@
6
template: src='rhel_sysconfig_init.j2' dest='/etc/sysconfig/init' owner=root group=root mode=0544
7
when: ansible_distribution == 'RedHat' or ansible_distribution == 'Fedora' or ansible_distribution == 'CentOS'
8
9
+- name: install initramfs-tools
10
+ apt: name='initramfs-tools' state=installed update_cache=true
11
+ when: ansible_os_family == 'Debian' and os_security_kernel_enable_module_loading
12
+
13
- name: rebuild initramfs with starting pack of modules, if module loading at runtime is disabled
14
template: src='modules.j2' dest='/etc/initramfs-tools/modules' owner=root group=root mode=0440
15
when: ansible_os_family == 'Debian' and os_security_kernel_enable_module_loading
0 commit comments