From c324cb63afa5bd9135219b65e73491ea1471077c Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 6 Jan 2021 14:05:33 +0100 Subject: Break packages and per-distro tasks --- roles/workstation/tasks/setup_openbsd.yml | 43 +++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 roles/workstation/tasks/setup_openbsd.yml (limited to 'roles/workstation/tasks/setup_openbsd.yml') 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 -- cgit v1.2.3