Fix linters

Change-Id: I70c1cbfa6385a288d81c2ab3bc4f187bed7c5fb4
This commit is contained in:
Dmitriy Rabotyagov 2021-05-27 16:22:26 +03:00
parent 8712a9be07
commit 9e943af976

View File

@ -58,7 +58,7 @@
dest: "/etc/security/limits.conf" dest: "/etc/security/limits.conf"
regexp: "^{{ memcached_user }}.*soft.*nofile.*" regexp: "^{{ memcached_user }}.*soft.*nofile.*"
state: "present" state: "present"
line: "{{ memcached_user }}\tsoft\tnofile\t\t{{ memcached_file_limits }}" line: "{{ memcached_user }}\tsoft\tnofile\t\t{{ memcached_file_limits }}" # noqa no-tabs
insertbefore: "^# End of file" insertbefore: "^# End of file"
- name: Configure hard file limits - name: Configure hard file limits
@ -66,5 +66,5 @@
dest: "/etc/security/limits.conf" dest: "/etc/security/limits.conf"
regexp: "^{{ memcached_user }}.*hard.*nofile.*" regexp: "^{{ memcached_user }}.*hard.*nofile.*"
state: "present" state: "present"
line: "{{ memcached_user }}\thard\tnofile\t\t{{ memcached_file_limits }}" line: "{{ memcached_user }}\thard\tnofile\t\t{{ memcached_file_limits }}" # noqa no-tabs
insertbefore: "^# End of file" insertbefore: "^# End of file"