2015-09-07 16:08:11 +02:00
|
|
|
---
|
2015-12-09 15:53:32 +01:00
|
|
|
- name: Fix debian/ubuntu broken behaviour. The su pam config does not load pam_limits
|
2015-09-07 16:08:11 +02:00
|
|
|
lineinfile: dest=/etc/pam.d/su line="session required pam_limits.so" insertafter="^#\ \(Replaces\ the\ use\ of\ /etc/limits.*$"
|
|
|
|
tags: [ 'su', 'pam_limits']
|
2016-07-26 12:51:34 +02:00
|
|
|
|
|
|
|
- name: Change the default security limits
|
|
|
|
pam_limits: domain={{ item.domain }} limit_type={{ item.type }} limit_item={{ item.l_item }} value={{ item.value }}
|
|
|
|
with_items: '{{ default_security_limits }}'
|
|
|
|
tags: [ 'su', 'pam_limits']
|
|
|
|
|