diff --git a/roles/desktop/files/usr/local/sbin/update-grub b/roles/desktop/files/usr/local/sbin/update-grub new file mode 100644 index 0000000..151362e --- /dev/null +++ b/roles/desktop/files/usr/local/sbin/update-grub @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +grub-mkconfig -o /boot/grub/grub.cfg diff --git a/roles/desktop/tasks/arch.yml b/roles/desktop/tasks/arch.yml index 73635fe..0654370 100644 --- a/roles/desktop/tasks/arch.yml +++ b/roles/desktop/tasks/arch.yml @@ -114,6 +114,14 @@ state: present name: com.usebottles.bottles +- name: copy scripts + become: yes + copy: + src: "usr/local/sbin/{{item}}" + dest: "/usr/local/sbin/{{item}}" + mode: '0755' + loop: + - update-grub - import_tasks: audio.yml - import_tasks: bluetooth.yml