# help with templating

**URL:** <https://forum.ansible.com/t/help-with-templating/15182>\
**Category:** Ansible Project\
**Created:** [May 7, 2014, 11:39am UTC](https://forum.ansible.com/t/help-with-templating/15182 "2014-05-07T11:39:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makimoto\_Marakatti](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Makimoto\_Marakatti](https://forum.ansible.com/u/Makimoto_Marakatti)\
**Post date:** [May 7, 2014, 11:39am UTC](https://forum.ansible.com/t/help-with-templating/15182/1 "2014-05-07T11:39:22Z")

</div>

Hi

My latest roadblock is trying to template sudoers. And I can’t figure out why this won’t work:

My playbook calling the role is simple enough:

`

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [May 7, 2014, 12:22pm UTC](https://forum.ansible.com/t/help-with-templating/15182/2 "2014-05-07T12:22:43Z")

</div>

add full path to visudo in validate, its failing to find it​

---

<div class="post-metadata">

**Author:** ![Makimoto\_Marakatti](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Makimoto\_Marakatti](https://forum.ansible.com/u/Makimoto_Marakatti)\
**Post date:** [May 7, 2014, 1:02pm UTC](https://forum.ansible.com/t/help-with-templating/15182/3 "2014-05-07T13:02:16Z")

</div>

That was the issue indeed.

Thanks!
