2019-11-10 17:05:01 +00:00
|
|
|
---
|
|
|
|
- name: Install NetBSD GUI packages
|
|
|
|
become: true
|
|
|
|
pkgin:
|
2019-11-17 14:35:50 +00:00
|
|
|
name: atril,firefox,fvwm,motif,rxvt-unicode,vim-motif,xlockmore-lite
|
2019-11-10 17:05:01 +00:00
|
|
|
state: present
|
2019-11-12 10:00:45 +00:00
|
|
|
- name: Enable xdm
|
|
|
|
become: true
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/rc.conf
|
|
|
|
regexp: ^xdm=.*
|
|
|
|
line: xdm=YES
|
2019-11-12 12:19:58 +00:00
|
|
|
- name: Disable getty on /dev/console
|
2019-11-12 10:00:45 +00:00
|
|
|
become: true
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/ttys
|
|
|
|
regexp: ^console\s+
|
2019-11-12 10:03:59 +00:00
|
|
|
line: 'console "/usr/libexec/getty Pc" vt100 off secure'
|
2019-11-12 12:19:58 +00:00
|
|
|
- name: Enable getty on /dev/ttyE0
|
|
|
|
become: true
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/ttys
|
|
|
|
regexp: ^ttyE0\s+
|
|
|
|
line: 'ttyE0 "/usr/libexec/getty Pc" wsvt25 on secure'
|