ansible/playbooks/device_roles_workstation.yml

37 lines
940 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
# Home desktops
- hosts: device_roles_workstation
roles:
- role: udev
vars:
udev_rules:
# Switch RCM stuff
- SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"
tags: [ desktop, udev ]
- 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 ]
- hosts: dsk-ryzen-1.ws.mgmt.desu.ltd
roles:
- role: backup
vars:
backup_s3backup_tar_args_extra: h
backup_s3backup_list_extra:
- /home/salt/.backup/
tags: [ backup ]
# - role: grub
# vars:
# grub_default: "saved"
# grub_disable_os_prober: "false"
# grub_timeout: 5
# grub_hidden_timeout: 5
# tags: [ desktop, grub ]