aboutsummaryrefslogblamecommitdiffstats
path: root/roles/workstation/tasks/setup_openbsd.yml
blob: bf4fb6c2105b58549f9c1624533fed8b5d077cb9 (plain) (tree)










































                                                 

# 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.