diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-10-22 16:41:45 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-10-22 16:41:45 +0200 |
commit | 0df015e9b5c4aefd4245c94ee98021d2af80ed99 (patch) | |
tree | d9dbf4259500857daf41b627dbc2d116ba92dbc1 /roles/workstation/tasks/os_openbsd.yml | |
parent | 1cd2d31e0d5f81ce066121de78c0ed042fc3b6aa (diff) | |
download | rules-0df015e9b5c4aefd4245c94ee98021d2af80ed99.tar.gz |
lint: pass ansible-lint + yamllint
Diffstat (limited to 'roles/workstation/tasks/os_openbsd.yml')
-rw-r--r-- | roles/workstation/tasks/os_openbsd.yml | 14 |
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 |