ansible/roles/desktop/tasks/main.yml

21 lines
806 B
YAML

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- name: assure xorg.conf.d
ansible.builtin.file: path=/etc/X11/xorg.conf.d state=directory mode=0755
- name: configure X misc
ansible.builtin.template: src={{ item }} dest=/etc/X11/xorg.conf.d/{{ item }} mode=0644
loop:
# Disables mouse acceleration on all mouse peripherals
- 90-mouse-acceleration.conf
# Enables things like triple-tapping, etc. on touchpads
- 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