ansible/roles/desktop/tasks/main.yml

24 lines
912 B
YAML
Raw Normal View History

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
2020-12-04 09:18:26 -06:00
- name: assure xorg.conf.d
2022-06-16 23:45:29 -05:00
ansible.builtin.file: path=/etc/X11/xorg.conf.d state=directory mode=0755
- name: configure X misc
2022-06-16 23:45:29 -05:00
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 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"