2020-12-21 01:18:32 -06:00
|
|
|
#!/usr/bin/env ansible-playbook
|
|
|
|
# vim:ft=ansible:
|
|
|
|
---
|
|
|
|
# Home desktops
|
2021-08-23 20:05:27 -05:00
|
|
|
- hosts: device_roles_workstation
|
2021-03-09 15:50:04 -06:00
|
|
|
tasks:
|
2022-01-21 16:55:10 -06:00
|
|
|
# - name: assure vm-fs-1 nfs mountpoint
|
|
|
|
# file: path=/nfs/vm-fs-1.home.mgmt.desu.ltd state=directory
|
|
|
|
# tags: [ desktop, nfs ]
|
|
|
|
# - name: assure vm-fs-1 nfs mount
|
|
|
|
# mount: path=/nfs/vm-fs-1.home.mgmt.desu.ltd src=vm-fs-1.home.mgmt.desu.ltd:/nfs fstype=nfs4 opts="rsize=10248576,wsize=1048576,soft,timeo=600,retrans=2,_netdev" state=mounted
|
|
|
|
# tags: [ desktop, nfs ]
|
2020-12-21 01:18:32 -06:00
|
|
|
roles:
|
|
|
|
- role: udev
|
|
|
|
vars:
|
|
|
|
udev_rules:
|
|
|
|
# Switch RCM stuff
|
|
|
|
- SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"
|
|
|
|
tags: [ desktop, udev ]
|
|
|
|
- role: pulseaudio
|
|
|
|
tags: [ desktop, pulse, pulseaudio ]
|
2021-12-01 07:31:38 -06:00
|
|
|
- hosts: vm-desktop-1.home.mgmt.desu.ltd
|
|
|
|
roles:
|
|
|
|
- role: backup
|
|
|
|
vars:
|
|
|
|
backup_s3backup_tar_args_extra: h
|
|
|
|
backup_s3backup_list_extra:
|
2021-12-30 07:48:15 -06:00
|
|
|
- /etc/
|
2021-12-01 07:31:38 -06:00
|
|
|
- /home/salt/.backup/
|
|
|
|
tags: [ backup ]
|
|
|
|
- role: desktop
|
|
|
|
tags: [ desktop, desktop-role ]
|
|
|
|
- role: grub
|
|
|
|
tags: [ desktop, grub ]
|
2022-01-21 16:55:10 -06:00
|
|
|
- hosts: lap-fw-diy-1.ws.mgmt.desu.ltd
|
|
|
|
roles:
|
|
|
|
- role: backup
|
|
|
|
vars:
|
|
|
|
backup_s3backup_tar_args_extra: h
|
|
|
|
backup_s3backup_list_extra:
|
|
|
|
- /etc/
|
|
|
|
- /home/salt/.backup/
|
|
|
|
tags: [ backup ]
|
|
|
|
- role: desktop
|
|
|
|
vars:
|
|
|
|
#desktop_apt_repos_extra:
|
|
|
|
#- "ppa:kubuntu-ppa/backports" # Kubuntu Backports
|
|
|
|
desktop_apt_packages_extra:
|
|
|
|
# DE
|
|
|
|
- bspwm
|
|
|
|
- compton
|
|
|
|
- conky-all
|
|
|
|
- dunst
|
|
|
|
- kubuntu-desktop
|
|
|
|
- nitrogen
|
|
|
|
- pavucontrol-qt
|
|
|
|
- polybar
|
|
|
|
- qt5ct
|
|
|
|
- rofi
|
|
|
|
- xbacklight
|
|
|
|
# Applications
|
|
|
|
- redshift
|
|
|
|
- xserver-xephyr
|
|
|
|
tags: [ desktop, desktop-role ]
|
|
|
|
- role: grub
|
|
|
|
vars:
|
|
|
|
grub_cmdline_linux_default: "quiet splash i915.enable_psr=0"
|
|
|
|
tags: [ desktop, grub ]
|
2021-10-25 19:10:25 -05:00
|
|
|
- hosts: lap-s76-lemp9-1.ws.mgmt.desu.ltd
|
2021-02-16 05:34:31 -06:00
|
|
|
roles:
|
2021-08-20 15:07:27 -05:00
|
|
|
- role: backup
|
|
|
|
vars:
|
|
|
|
backup_s3backup_tar_args_extra: h
|
|
|
|
backup_s3backup_list_extra:
|
2021-12-30 07:48:15 -06:00
|
|
|
- /etc/
|
2021-08-20 15:07:27 -05:00
|
|
|
- /home/salt/.backup/
|
|
|
|
- /home/salt-work/.backup/
|
|
|
|
tags: [ backup ]
|
2021-07-27 16:45:56 -05:00
|
|
|
- role: desktop
|
|
|
|
vars:
|
|
|
|
desktop_apt_keys_url_extra:
|
|
|
|
- "https://packagecloud.io/slacktechnologies/slack/gpgkey" # Slack
|
|
|
|
desktop_apt_repos_extra:
|
|
|
|
- "deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main" # Slack
|
|
|
|
- "ppa:kubuntu-ppa/backports" # Kubuntu Backports
|
|
|
|
- "ppa:kgilmer/speed-ricer" # Ricing for fun and profit
|
|
|
|
desktop_apt_packages_extra:
|
|
|
|
# DE
|
|
|
|
- bspwm
|
|
|
|
- compton
|
|
|
|
- conky-all
|
|
|
|
- dunst
|
|
|
|
- ibus
|
|
|
|
- ibus-mozc
|
|
|
|
- kubuntu-desktop
|
|
|
|
- mozc-utils-gui
|
|
|
|
- nitrogen
|
|
|
|
- pavucontrol-qt
|
|
|
|
- polybar
|
|
|
|
- qt5ct
|
|
|
|
- rofi
|
|
|
|
- xbacklight
|
|
|
|
# Applications
|
|
|
|
- redshift
|
|
|
|
- slack-desktop
|
|
|
|
- xserver-xephyr
|
|
|
|
desktop_apt_debs_extra:
|
|
|
|
- "https://zoom.us/client/latest/zoom_amd64.deb" # Zoom, proprietary shitware
|
2021-08-01 19:36:39 -05:00
|
|
|
tags: [ desktop, desktop-role ]
|
2021-02-16 05:34:31 -06:00
|
|
|
- role: grub
|
|
|
|
tags: [ desktop, grub ]
|
2021-10-25 19:10:25 -05:00
|
|
|
- hosts: dsk-ryzen-1.ws.mgmt.desu.ltd
|
2021-02-18 00:00:18 -06:00
|
|
|
roles:
|
2021-08-20 15:07:27 -05:00
|
|
|
- role: backup
|
|
|
|
vars:
|
|
|
|
backup_s3backup_tar_args_extra: h
|
|
|
|
backup_s3backup_list_extra:
|
|
|
|
- /home/salt/.backup/
|
|
|
|
tags: [ backup ]
|
2021-07-27 16:45:56 -05:00
|
|
|
- role: desktop
|
2022-01-21 16:55:10 -06:00
|
|
|
vars:
|
|
|
|
desktop_apt_debs_extra:
|
|
|
|
- "https://github.com/MultiMC/MultiMC5/releases/download/0.6.8/multimc_1.4-1.deb" # MultiMC
|
2021-08-01 19:36:39 -05:00
|
|
|
tags: [ desktop, desktop-role ]
|
2021-07-27 17:08:19 -05:00
|
|
|
# - role: grub
|
|
|
|
# vars:
|
|
|
|
# grub_disable_os_prober: "false"
|
|
|
|
# grub_timeout: 5
|
|
|
|
# grub_hidden_timeout: 5
|
|
|
|
# tags: [ desktop, grub ]
|