workstation/roles/distro-gui/tasks/freebsd.yml

48 lines
976 B
YAML
Raw Normal View History

2019-10-21 08:09:44 +00:00
---
- name: Install FreeBSD core GUI packages
become: true
pkgng:
name: drm-kmod mate xdm xorg xterm
state: present
- name: Install FreeBSD additional GUI packages
become: true
pkgng:
name: '{{ packages }}'
state: present
vars:
packages:
- dbus
- emacs
- en_GB-libreoffice
- firefox-esr
- galculator
- git-gui
- iosevka
- libreoffice
- mpv
- nextcloudclient
- redshift
- remmina
- remmina-plugin-rdp
- rxvt-unicode
- seahorse
- vim
2019-10-21 08:09:44 +00:00
- xinput
- name: Start DBUS service
become: true
service:
name: dbus
state: started
enabled: yes
- name: Enable XDM
become: true
lineinfile:
path: /etc/ttys
regexp: '^ttyv8\s.*'
line: 'ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure'
- name: Set xorg keyboard layout
become: true
copy:
src: keyboard-gb.conf
dest: /usr/local/etc/X11/xorg.conf.d/keyboard-gb.conf