machine_setup/ansible/playbook.yaml
Tom Alexander fcf32657c3
Disable usb autosuspend for keyboard and mouse.
USB auto suspend seems to only happen when the devices are plugged in at boot (which generally means when my laptop is connected to the dock before boot) but it is very annoying because some keypresses get lost and my mouse does not work unless I click first.
2023-08-16 15:51:48 -04:00

113 lines
1.5 KiB
YAML

- hosts: all:!jail:!vm:!server
vars:
ansible_become: True
roles:
- sudo
- doas
- users
- package_manager
- zfs
- zrepl
- zsh
- network
- sshd
- base
- firewall
- cpu
- ntp
- nvme
- hosts
- build
- sound
- graphics
- power_management
- gpg
- fonts
- alacritty
- sway
- emacs
- firefox
- devfs
- ssh_client
- sshfs
- jail
- fuse
- autofs
- exfat
- bhyve
- bluetooth
- media
- kubernetes
- google_cloud_sdk
- ansible
- wireguard
- portshaker
- poudriere
- android
- latex
- pyenv
- webcam
- docker
- vscode
- javascript
- hosts: nat_dhcp:homeserver_nat_dhcp:mrmanager_nat_dhcp
vars:
ansible_become: True
roles:
- jail_nat_dhcp
- hosts: poudriereodo:poudrieremrmanager
vars:
ansible_become: True
roles:
- sudo # for poudboot script
- fstab
- portshaker
- poudriere
- poudrierenginx
- hosts: mrmanager
vars:
ansible_become: True
roles:
- sudo
- doas
- users
- package_manager
- zfs
- zrepl
- zsh
- network
- sshd
- base
- firewall
- cpu
- ntp
- nvme
- hosts
- build
- devfs
- jail
- bhyve
- wireguard
- emacs
- mrmanager
- hosts: admin_git:public_dns
vars:
ansible_become: True
roles:
- sudo
- doas
- users
- hosts: public_dns
vars:
ansible_become: True
roles:
- sudo
- doas
- users
- public_dns