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

28 lines
514 B
YAML
Raw Normal View History

2021-01-30 11:55:40 +00:00
---
- name: install packages
package:
2021-02-07 12:51:50 +00:00
name: "{{ item }}"
2021-01-30 11:55:40 +00:00
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
- dmenu
- alacritty
2021-01-30 11:55:40 +00:00
- name: activate display manager
systemd:
2021-02-07 12:45:40 +00:00
name: sddm
2021-01-30 11:55:40 +00:00
enabled: yes
- name: set keyboard layout
command:
cmd: localectl --no-convert set-x11-keymap de pc105 nodeadkeys
creates: /etc/X11/xorg.conf.d/00-keyboard.conf