roles/common: Set I/O scheduler via udev
All servers with non-rotating disks (SSDs) should be running noop, and the rest should be running deadline. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
@ -43,6 +43,10 @@
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
template: src=rc.local_{{ ansible_distribution }}.j2 dest=/etc/rc.local owner=root group=root mode=0755
|
||||
|
||||
- name: Set I/O scheduler
|
||||
template: src=etc/udev/rules.d/60-scheduler.rules.j2 dest=/etc/udev/rules.d/60-scheduler.rules owner=root group=root mode=0644
|
||||
tags: udev
|
||||
|
||||
- include: ssh-keys.yml
|
||||
tags: ssh-keys
|
||||
|
||||
|
Reference in New Issue
Block a user