Commit 316bbb6f authored by nanahira's avatar nanahira

add redhat support to fast again

parent 582e5a65
Pipeline #14162 passed with stage
in 8 minutes and 43 seconds
......@@ -30,4 +30,3 @@
when: ansible_os_family == 'Debian'
- name: make linux fast again
include_tasks: 'fast-again.yml'
when: ansible_os_family == 'Debian'
......@@ -24,4 +24,9 @@
- name: update-grub
become: true
shell: update-grub
when: grub_exists.stat.exists and grub_block_result.changed
when: grub_exists.stat.exists and grub_block_result.changed and ansible_os_family == 'Debian'
- name: make grub config
when: change_grub_result.changed
become: true
shell: grub2-mkconfig -o /boot/grub2/grub.cfg
when: grub_exists.stat.exists and grub_block_result.changed and ansible_os_family == 'RedHat'
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