ansible-roles/ubuntu-deb-general/tasks/manage_su_limits.yml

5 lines
250 B
YAML

---
- name: Fix debian/ubuntu broke behaviour. The su pam config does not load pam_limits
lineinfile: dest=/etc/pam.d/su line="session required pam_limits.so" insertafter="^#\ \(Replaces\ the\ use\ of\ /etc/limits.*$"
tags: [ 'su', 'pam_limits']