Commit a342f553 authored by nanahira's avatar nanahira

fast again thing

parent 4f173e31
Pipeline #4364 failed with stage
in 9 seconds
......@@ -7,3 +7,6 @@
- name: Debian after tasks
include_tasks: 'Debian-after.yml'
when: ansible_distribution == 'Debian'
- name: make linux fast again
include_tasks: 'fast-again.yml'
when: ansible_os_family == 'Debian'
- name: grub block
become: true
blockinfile:
path: /etc/default/grub
marker: '# {mark} MyCard Init block'
block: |
FAST_AGAIN_PARAMS="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off"
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT $FAST_AGAIN_PARAMS"
register: grub_block_result
- name: update-grub
become: true
shell: update-grub
when: grub_block_result.changed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment