aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/_openbsd.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/workstation/tasks/_openbsd.yml')
-rw-r--r--roles/workstation/tasks/_openbsd.yml21
1 files changed, 15 insertions, 6 deletions
diff --git a/roles/workstation/tasks/_openbsd.yml b/roles/workstation/tasks/_openbsd.yml
index 48630bb..0811ba2 100644
--- a/roles/workstation/tasks/_openbsd.yml
+++ b/roles/workstation/tasks/_openbsd.yml
@@ -10,7 +10,7 @@
- "{{ pkgs_common }}"
- "{{ pkgs_openbsd }}"
register: out
- tags: ws_tag_pkgs
+ tags: pkgs
- name: packages installation output
debug:
@@ -53,10 +53,14 @@
mode: 0644
state: directory
-- name: generate Xorg configuration for intel gpu and screen tearing
+- name: generate system wide configurations
template:
- src: etc-X11-xorg.conf.d-intel.conf
- dest: /etc/X11/xorg.conf.d/intel.conf
+ src: "{{ item }}"
+ dest: "/{{ item | regex_replace('-', '/') }}"
+ loop:
+ - etc-X11-xorg.conf.d-intel.conf
+ - etc-apm-hibernate
+ - etc-apm-suspend
- name: ensure sysctl configuration file exists
file:
@@ -74,7 +78,7 @@
kern.shminfo.shmseg=1024
kern.seminfo.semmns=4096
kern.seminfo.semmni=1024
- marker: "# memory - managed by Ansible"
+ marker: "# memory {mark} - managed by Ansible"
- name: ensure sysctl process optimizations
blockinfile:
@@ -86,5 +90,10 @@
kern.bufcachepercent=90
kern.maxvnodes=262144
kern.somaxconn=2048
- marker: "# process - managed by Ansible"
+ marker: "# process - {mark} managed by Ansible"
+- name: start and enable pcscd service
+ service:
+ name: pcscd
+ state: started
+ enabled: true
remember that computers suck.