# Ansible gives AttributeError: 'AnsibleModule' object has no attribute '\_selinux\_special\_fs'

**URL:** <https://forum.ansible.com/t/ansible-gives-attributeerror-ansiblemodule-object-has-no-attribute-selinux-special-fs/23867>\
**Category:** Ansible Project\
**Created:** [March 2, 2017, 4:22pm UTC](https://forum.ansible.com/t/ansible-gives-attributeerror-ansiblemodule-object-has-no-attribute-selinux-special-fs/23867 "2017-03-02T16:22:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gowtham\_Shanmugam](https://avatars.discourse-cdn.com/v4/letter/g/a8b319/32.png) [@Gowtham\_Shanmugam](https://forum.ansible.com/u/Gowtham_Shanmugam)\
**Post date:** [March 2, 2017, 4:22pm UTC](https://forum.ansible.com/t/ansible-gives-attributeerror-ansiblemodule-object-has-no-attribute-selinux-special-fs/23867/1 "2017-03-02T16:22:19Z")

</div>

ansible gives AttributeError error when selinux is enables but if i disable selinux then this error is not came, why this problem is this bug or any problem with my setup.

Anyone please give solution for this
