aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/os_openbsd.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/workstation/tasks/os_openbsd.yml')
-rw-r--r--roles/workstation/tasks/os_openbsd.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/roles/workstation/tasks/os_openbsd.yml b/roles/workstation/tasks/os_openbsd.yml
index d007263..21f3bb1 100644
--- a/roles/workstation/tasks/os_openbsd.yml
+++ b/roles/workstation/tasks/os_openbsd.yml
@@ -1,5 +1,5 @@
- name: ensure wsconsctl config file exists
- file:
+ ansible.builtin.file:
path: /etc/wsconsctl.conf
state: touch
owner: 0
@@ -7,7 +7,7 @@
mode: 0644
- name: append configuration to wsconsctl
- lineinfile:
+ ansible.builtin.lineinfile:
path: /etc/wsconsctl.conf
regexp: "^{{ item[0] }}"
line: "{{ item[0] }}={{ item[1] }}"
@@ -23,7 +23,7 @@
- [mouse.tp.tapping, 1]
- name: ensure Xorg subdirectory for configuration exists
- file:
+ ansible.builtin.file:
path: /etc/X11/xorg.conf.d
owner: 0
group: 0
@@ -31,7 +31,7 @@
state: directory
- name: generate system wide configurations
- template:
+ ansible.builtin.template:
src: "{{ item[0] }}"
dest: "{{ item[1] }}"
mode: preserve
@@ -42,13 +42,13 @@
- [apm-resume, /etc/apm/resume]
- name: ensure sysctl configuration file exists
- file:
+ ansible.builtin.file:
path: /etc/sysctl.conf
owner: root
mode: 0644
- name: ensure sysctl memory optimizations
- blockinfile:
+ ansible.builtin.blockinfile:
path: /etc/sysctl.conf
block: |
kern.shminfo.shmall=3145728
@@ -60,7 +60,7 @@
marker: "# memory {mark} - managed by Ansible"
- name: ensure sysctl process optimizations
- blockinfile:
+ ansible.builtin.blockinfile:
path: /etc/sysctl.conf
block: |
kern.maxfiles=102400
remember that computers suck.