dotfiles/tasks/mac.yml
Jake Howard 648662f794
Update pyyaml to 1.21.0
Also standardize on quotes. Unfortunatley it doesn't quite work yet
2020-03-30 19:36:05 +01:00

30 lines
632 B
YAML

- name: Install macOS packages
aur:
skip_installed: true
name: "{{ item }}"
become: true
become_user: aur_builder
when: item not in installed_packages.stdout_lines
loop:
- mbpfan-git
- bcwc-pcie-git
- name: Enable mbpfan service
systemd:
name: mbpfan
enabled: true
state: started
- name: Make the FN key work the correct way
lineinfile:
path: /etc/modprobe.d/hid_apple.conf
line: options hid_apple fnmode=2
create: true
- name: Disable power key
lineinfile:
path: /etc/systemd/logind.conf
state: present
regexp: ^HandlePowerKey=
line: HandlePowerKey=ignore