ansible-machine-setup/roles/xorg/tasks/main.yaml

40 lines
745 B
YAML
Raw Normal View History

2021-01-30 11:55:40 +00:00
---
- name: install packages
package:
2021-03-04 12:28:46 +00:00
name: "{{ item }}"
state: latest
2021-02-07 12:51:50 +00:00
loop:
- xorg
- xorg-server
- xorg-xinit
2021-02-07 14:03:40 +00:00
- xorg-xsetroot
2021-02-07 12:51:50 +00:00
- xf86-video-intel
- xf86-video-fbdev
- sddm
- i3-wm
- i3status
2021-03-04 12:28:46 +00:00
- xautolock
- i3lock
2021-02-07 12:51:50 +00:00
- dmenu
- alacritty
2021-03-06 15:01:26 +00:00
- flameshot
2021-01-30 11:55:40 +00:00
2021-02-07 14:11:39 +00:00
- name: configure sddm
ini_file:
2021-03-04 12:28:46 +00:00
path: /etc/sddm.conf.d/uid.conf
section: Users
option: HideShells
value: /usr/bin/nologin,/sbin/nologin,/bin/false
mode: 0644
create: yes
2021-02-07 14:11:39 +00:00
2021-01-30 11:55:40 +00:00
- name: activate display manager
systemd:
2021-03-04 12:28:46 +00:00
name: sddm
enabled: yes
2021-01-30 11:55:40 +00:00
- name: set keyboard layout
command:
2021-03-04 12:28:46 +00:00
cmd: localectl --no-convert set-x11-keymap de pc105 nodeadkeys
creates: /etc/X11/xorg.conf.d/00-keyboard.conf