aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/setup_openbsd.yml
blob: bf4fb6c2105b58549f9c1624533fed8b5d077cb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

# workstation ~~ roles/workstation/tasks/main.yml
# init openbsd based workstation

---

- name: ensure wsconsctl config file exists
  file:
    path: /etc/wsconsctl.conf
    owner: root
    group: wheel
    mode: 0644
    state: touch

- name: wsconsctl screen default screenbrightness
  lineinfile:
    path: /etc/wsconsctl.conf
    regexp: ^screen.brightness=
    line: screen.brightness=80

- name: wsconsctl keyboard default acceleration
  lineinfile:
    path: /etc/wsconsctl.conf
    regexp: ^keyboard.repeat.del1=
    line: keyboard.repeat.del1=180

- name: wsconsctl keyboard default acceleration
  lineinfile:
    path: /etc/wsconsctl.conf
    regexp: ^keyboard.repeat.deln=
    line: keyboard.repeat.deln=50

- name: wsconctl disable keyboard bell
  lineinfile:
    path: /etc/wsconsctl.conf
    regexp: ^keyboard.bell.volume=
    line: keyboard.bell.volume=0

- name: wsconctl enable touchpad tapping
  lineinfile:
    path: /etc/wsconsctl.conf
    regexp: ^mouse.tp.tapping=
    line: mouse.tp.tapping=1
remember that computers suck.