Add dsk-ryzen-1 to workstations, put debian-specific stuff in that role into a block
This commit is contained in:
parent
21907b7fe5
commit
82eb58877c
@ -21,6 +21,7 @@
|
|||||||
tags: [ backup ]
|
tags: [ backup ]
|
||||||
- hosts: dsk-ryzen-1.ws.mgmt.desu.ltd
|
- hosts: dsk-ryzen-1.ws.mgmt.desu.ltd
|
||||||
roles:
|
roles:
|
||||||
|
- role: desktop
|
||||||
- role: backup
|
- role: backup
|
||||||
vars:
|
vars:
|
||||||
backup_s3backup_tar_args_extra: h
|
backup_s3backup_tar_args_extra: h
|
||||||
|
@ -12,9 +12,12 @@
|
|||||||
- 90-touchpad.conf
|
- 90-touchpad.conf
|
||||||
- name: configure packages
|
- name: configure packages
|
||||||
include_tasks: packages.yml
|
include_tasks: packages.yml
|
||||||
- name: configure plymouth
|
- name: configure debian-specific stuff
|
||||||
alternatives: name=default.plymouth path=/usr/share/plymouth/themes/bgrt/bgrt.plymouth
|
block:
|
||||||
notify: regen initramfs
|
- name: configure plymouth
|
||||||
when: ansible_os_family != "Gentoo"
|
alternatives: name=default.plymouth path=/usr/share/plymouth/themes/bgrt/bgrt.plymouth
|
||||||
- name: ensure unattended-upgrades is installed
|
notify: regen initramfs
|
||||||
ansible.builtin.apt: name=unattended-upgrades state=present
|
when: ansible_os_family != "Gentoo"
|
||||||
|
- name: ensure unattended-upgrades is installed
|
||||||
|
ansible.builtin.apt: name=unattended-upgrades state=present
|
||||||
|
when: ansible_pkg_mgr == "apt"
|
||||||
|
Loading…
Reference in New Issue
Block a user