# roles being ignored when ...

**URL:** <https://forum.ansible.com/t/roles-being-ignored-when/22713>\
**Category:** Ansible Project\
**Created:** [October 3, 2016, 11:37pm UTC](https://forum.ansible.com/t/roles-being-ignored-when/22713 "2016-10-03T23:37:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcos\_Cano](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@Marcos\_Cano](https://forum.ansible.com/u/Marcos_Cano)\
**Post date:** [October 3, 2016, 11:37pm UTC](https://forum.ansible.com/t/roles-being-ignored-when/22713/1 "2016-10-03T23:37:59Z")

</div>

ansible roles are being ignored when :

- being called from another directory outside ANSIBLE\_HOME, ANSIBLE\_ROLES\_PATH and config file roles\_path has been setup tho
- roles begin with “n” or “m”, (haven’t tried with other letters), \> the simple test i did was this nginx (ignored) renamed it to anginx (executed).

ansible 2.1.2.0  
config file = /var/lib/jenkins/.ansible.cfg  
configured module search path = Default w/o overrides

cat .ansible.cfg

[defaults]  
roles\_path = /devops/tools/ansible/roles

---

<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:** [October 4, 2016, 2:40am UTC](https://forum.ansible.com/t/roles-being-ignored-when/22713/2 "2016-10-04T02:40:50Z")

</div>

can you give reproducing example?
