# Deploying zone-specific resolv.conf

**URL:** <https://forum.ansible.com/t/deploying-zone-specific-resolv-conf/12133>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [December 11, 2012, 12:40pm UTC](https://forum.ansible.com/t/deploying-zone-specific-resolv-conf/12133 "2012-12-11T12:40:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [December 11, 2012, 12:40pm UTC](https://forum.ansible.com/t/deploying-zone-specific-resolv-conf/12133/1 "2012-12-11T12:40:05Z")

</div>

You could use "first\_available\_file" (see online docs and  
examples/playbooks/\* in the checkout) to choose the template path  
based on the 'ansible\_domain' fact (if you are using 0.9)
