9 lines
379 B
YAML
9 lines
379 B
YAML
---
|
|
|
|
- name: create limits.d-directory if it does not exist
|
|
file: path='/etc/security/limits.d' owner=root group=root mode=0755 state=directory
|
|
when: os_security_kernel_enable_core_dump
|
|
|
|
- name: create sane limits.conf
|
|
template: src='limits.conf.j2' dest='/etc/security/limits.d/10.hardcore.conf' owner=root group=root mode=0440
|
|
when: os_security_kernel_enable_core_dump
|