65 lines
1.3 KiB
YAML
65 lines
1.3 KiB
YAML
- name: Disable PC Speaker
|
|
modprobe:
|
|
name: pcspkr
|
|
state: absent
|
|
failed_when: false
|
|
|
|
- name: Install file system helpers
|
|
kewlfft.aur.aur:
|
|
name: "{{ item }}"
|
|
become: true
|
|
become_user: aur_builder
|
|
loop:
|
|
- dosfstools
|
|
- exfat-utils
|
|
- hfsprogs
|
|
- ntfs-3g
|
|
- btrfs-progs
|
|
|
|
- name: Install Microcode
|
|
kewlfft.aur.aur:
|
|
name: "{{ item }}"
|
|
become: true
|
|
become_user: aur_builder
|
|
loop:
|
|
- amd-ucode
|
|
- intel-ucode
|
|
|
|
- name: Install nohang
|
|
kewlfft.aur.aur:
|
|
name: nohang-git
|
|
become: true
|
|
become_user: aur_builder
|
|
|
|
- name: Enable nohang
|
|
systemd:
|
|
name: nohang-desktop
|
|
enabled: true
|
|
state: started
|
|
|
|
- name: Install plymouth
|
|
kewlfft.aur.aur:
|
|
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)
|
|
register: initrd_hooks
|
|
|
|
- name: Rebuild initrd
|
|
command: mkinitcpio -P
|
|
when: plymouth_config.changed or initrd_hooks.changed
|