diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-25 23:40:50 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-26 00:00:12 +0100 |
| commit | 415805d51eb574ea7dc0a9b0aa50f848716743e2 (patch) | |
| tree | 04004709b5dad282a9d939640ee9e93abaef106d /roles/bootstrap/tasks | |
| parent | 86250c8d9cef074d6282e74943c7cc2aa14c784f (diff) | |
Fix Mac setup to install broadcom wl driver
Co-Authored-By: Claude.ai
Diffstat (limited to 'roles/bootstrap/tasks')
| -rw-r--r-- | roles/bootstrap/tasks/install-archlinux.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/roles/bootstrap/tasks/install-archlinux.yml b/roles/bootstrap/tasks/install-archlinux.yml index 0140f31..033da1d 100644 --- a/roles/bootstrap/tasks/install-archlinux.yml +++ b/roles/bootstrap/tasks/install-archlinux.yml @@ -83,3 +83,29 @@ ansible.builtin.command: cmd: "arch-chroot {{ mnt_root_path }} pacman -S --noconfirm python3" changed_when: true + +- name: "Install broadcom-wl driver" + ansible.builtin.command: + cmd: "arch-chroot {{ mnt_root_path }} pacman -S --noconfirm broadcom-wl" + changed_when: true + when: bootstrap_broadcom_wl + +- name: "Blacklist modules conflicting with broadcom-wl" + ansible.builtin.copy: + dest: "{{ mnt_root_path }}/etc/modprobe.d/broadcom-wl.conf" + mode: "0644" + content: | + blacklist brcmfmac + blacklist brcmutil + blacklist b43 + blacklist ssb + blacklist bcma + when: bootstrap_broadcom_wl + +- name: "Load wl module at boot" + ansible.builtin.copy: + dest: "{{ mnt_root_path }}/etc/modules-load.d/broadcom-wl.conf" + mode: "0644" + content: | + wl + when: bootstrap_broadcom_wl |
