diff options
Diffstat (limited to 'roles/workstation/tasks/setup_openbsd.yml')
-rw-r--r-- | roles/workstation/tasks/setup_openbsd.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/roles/workstation/tasks/setup_openbsd.yml b/roles/workstation/tasks/setup_openbsd.yml new file mode 100644 index 0000000..bf4fb6c --- /dev/null +++ b/roles/workstation/tasks/setup_openbsd.yml @@ -0,0 +1,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 |