2020-11-08 06:10:12 -06:00
|
|
|
#!/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
|
2020-11-08 06:10:12 -06:00
|
|
|
- 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
|
2020-11-08 06:10:12 -06:00
|
|
|
loop:
|
|
|
|
# Disables mouse acceleration on all mouse peripherals
|
|
|
|
- 90-mouse-acceleration.conf
|
|
|
|
# Enables things like triple-tapping, etc. on touchpads
|
|
|
|
- 90-touchpad.conf
|
2020-12-20 04:32:04 -06:00
|
|
|
- name: configure packages
|
|
|
|
include_tasks: packages.yml
|
2023-04-21 19:46:41 -05:00
|
|
|
- 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"
|