From 0df015e9b5c4aefd4245c94ee98021d2af80ed99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 22 Oct 2022 16:41:45 +0200 Subject: lint: pass ansible-lint + yamllint --- roles/workstation/tasks/os_openbsd.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'roles/workstation/tasks/os_openbsd.yml') 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 -- cgit v1.2.3