Remove Linux sysctls that are getting overwritten.
This removes the settings for vm.dirty_writeback_centisecs and vm.laptop_mode because they are getting overwritten, which makes the task always report yellow. I suspect that TLP is overwriting them but I have not confirmed.
This commit is contained in:
parent
b0f98f1fdb
commit
02568d77d9
@ -36,23 +36,3 @@
|
||||
loop:
|
||||
- src: mount_disk_image
|
||||
dest: /usr/local/bin/mount_disk_image
|
||||
|
||||
- name: Configure sysctls
|
||||
sysctl:
|
||||
name: "{{ item.name }}"
|
||||
value: "{{ item.value }}"
|
||||
state: present
|
||||
sysctl_file: /etc/sysctl.d/dirty.conf
|
||||
loop:
|
||||
- name: vm.dirty_writeback_centisecs
|
||||
value: 2000 # Default is 500 (5 seconds)
|
||||
|
||||
- name: Configure sysctls
|
||||
sysctl:
|
||||
name: "{{ item.name }}"
|
||||
value: "{{ item.value }}"
|
||||
state: present
|
||||
sysctl_file: /etc/sysctl.d/laptop.conf
|
||||
loop:
|
||||
- name: vm.laptop_mode
|
||||
value: 5
|
||||
|
Loading…
Reference in New Issue
Block a user