workstation/roles/netbsd/tasks/xorg.yml

20 lines
452 B
YAML
Raw Normal View History

2019-11-10 17:05:01 +00:00
---
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+
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'