--- - name: Fix debian/ubuntu broken 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']