aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/setup_openbsd.yml
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-01-06 14:05:33 +0100
committerbinary <me@rgoncalves.se>2021-01-06 14:05:33 +0100
commitc324cb63afa5bd9135219b65e73491ea1471077c (patch)
tree52f71455a17ca44a4d9e77803ef1a80408c5e45a /roles/workstation/tasks/setup_openbsd.yml
parentafcbc020bd78ba7257002846633a580aa5dd55dd (diff)
downloadinfrastructure-c324cb63afa5bd9135219b65e73491ea1471077c.tar.gz
Break packages and per-distro tasks
Diffstat (limited to 'roles/workstation/tasks/setup_openbsd.yml')
-rw-r--r--roles/workstation/tasks/setup_openbsd.yml43
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
remember that computers suck.