# Ansible 2.1 failing on pam\_limits module

**URL:** <https://forum.ansible.com/t/ansible-2-1-failing-on-pam-limits-module/21706>\
**Category:** Ansible Project\
**Created:** [June 8, 2016, 9:34pm UTC](https://forum.ansible.com/t/ansible-2-1-failing-on-pam-limits-module/21706 "2016-06-08T21:34:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fong\_Yang](https://avatars.discourse-cdn.com/v4/letter/f/0ea827/32.png) [@Fong\_Yang](https://forum.ansible.com/u/Fong_Yang)\
**Post date:** [June 8, 2016, 9:34pm UTC](https://forum.ansible.com/t/ansible-2-1-failing-on-pam-limits-module/21706/1 "2016-06-08T21:34:43Z")

</div>

I’m getting errors with pam\_limits on the latest Ansible 2.1:

> TASK [system\_configs : pam\_limits] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> 
> fatal: [10.1.107.1]: FAILED! =\> {“failed”: true, “msg”: “module (pam\_limits) is missing interpreter line”}
> 
> fatal: [10.1.97.1]: FAILED! =\> {“failed”: true, “msg”: “module (pam\_limits) is missing interpreter line”}

This is the task:

> - pam\_limits: domain=\* limit\_item=nofile limit\_type=- value=65536

Is this a bug?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [June 15, 2016, 4:09pm UTC](https://forum.ansible.com/t/ansible-2-1-failing-on-pam-limits-module/21706/2 "2016-06-15T16:09:55Z")

</div>

you seem to be using a custom pam\_limits module that does not have a shebang
