I’m attempting to use the pam_limits module as included in Ansible 2.1 but getting this error:
TASK [system_configs : pam_limits] *********************************************
fatal: [10.0.107.1]: FAILED! => {“failed”: true, “msg”: “module (pam_limits) is missing interpreter line”}
fatal: [10.0.97.1]: FAILED! => {“failed”: true, “msg”: “module (pam_limits) is missing interpreter line”}
fatal: [10.0.70.1]: FAILED! => {“failed”: true, “msg”: “module (pam_limits) is missing interpreter line”}
to retry, use: --limit @/etc/ansible/main.retry
What am I missing? This is the task:
- pam_limits: domain=* limit_item=nofile limit_type=- value=65536