Add dsk-ryzen-1 to workstations, put debian-specific stuff in that role into a block

This commit is contained in:
Salt 2023-04-21 19:46:41 -05:00
parent 21907b7fe5
commit 82eb58877c
2 changed files with 10 additions and 6 deletions

View File

@ -21,6 +21,7 @@
tags: [ backup ]
- hosts: dsk-ryzen-1.ws.mgmt.desu.ltd
roles:
- role: desktop
- role: backup
vars:
backup_s3backup_tar_args_extra: h

View File

@ -12,9 +12,12 @@
- 90-touchpad.conf
- name: configure packages
include_tasks: packages.yml
- name: configure plymouth
alternatives: name=default.plymouth path=/usr/share/plymouth/themes/bgrt/bgrt.plymouth
notify: regen initramfs
when: ansible_os_family != "Gentoo"
- name: ensure unattended-upgrades is installed
ansible.builtin.apt: name=unattended-upgrades state=present
- name: configure debian-specific stuff
block:
- name: configure plymouth
alternatives: name=default.plymouth path=/usr/share/plymouth/themes/bgrt/bgrt.plymouth
notify: regen initramfs
when: ansible_os_family != "Gentoo"
- name: ensure unattended-upgrades is installed
ansible.builtin.apt: name=unattended-upgrades state=present
when: ansible_pkg_mgr == "apt"