dotfiles/tasks/boot.yml

66 lines
1.3 KiB
YAML
Raw Normal View History

- name: Disable PC Speaker
2019-05-25 16:50:09 +01:00
modprobe:
2019-03-14 21:34:29 +00:00
name: pcspkr
state: absent
2023-01-08 15:25:23 +00:00
failed_when: false
2019-05-13 20:52:51 +01:00
- name: Install file system helpers
kewlfft.aur.aur:
2019-05-27 21:55:17 +01:00
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
2019-05-27 21:55:17 +01:00
- dosfstools
- exfat-utils
- hfsprogs
- ntfs-3g
2021-02-23 18:17:28 +00:00
- btrfs-progs
2019-10-02 22:09:46 +01:00
- name: Install Microcode
kewlfft.aur.aur:
2019-10-02 22:09:46 +01:00
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- amd-ucode
- intel-ucode
2020-05-06 16:54:52 +01:00
- name: Install nohang
kewlfft.aur.aur:
2020-05-06 16:55:39 +01:00
name: nohang-git
2020-05-06 16:54:52 +01:00
become: true
become_user: aur_builder
- name: Enable nohang
systemd:
name: nohang-desktop
enabled: true
2020-06-04 09:24:05 +01:00
state: started
2020-05-22 12:54:31 +01:00
- name: Install plymouth
kewlfft.aur.aur:
2020-05-22 12:54:31 +01:00
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- plymouth
- plymouth-theme-ibm-git
- name: Install plymouth config
copy:
src: ./files/plymouth.conf
dest: /etc/plymouth/plymouthd.conf
mode: 0644
register: plymouth_config
- name: Set hooks
lineinfile:
path: /etc/mkinitcpio.conf
regexp: ^HOOKS=
line: HOOKS=(base udev plymouth autodetect keyboard keymap modconf block encrypt filesystems fsck)
2020-05-22 12:54:31 +01:00
register: initrd_hooks
- name: Rebuild initrd
command: mkinitcpio -P
when: plymouth_config.changed or initrd_hooks.changed