# Environment specific files

**URL:** <https://forum.ansible.com/t/environment-specific-files/18957>\
**Category:** Ansible Project\
**Created:** [August 5, 2015, 10:27pm UTC](https://forum.ansible.com/t/environment-specific-files/18957 "2015-08-05T22:27:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssk](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@ssk](https://forum.ansible.com/u/ssk)\
**Post date:** [August 5, 2015, 10:27pm UTC](https://forum.ansible.com/t/environment-specific-files/18957/1 "2015-08-05T22:27:19Z")

</div>

Hi,  
Is there a way to arrange all environment specific files ? I have some property files and certificates specific to production and wonder if ansible can identify the same files out of production folders when running through the scripts.

ssk

---

<div class="post-metadata">

**Author:** ![Paul\_Markham](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Paul\_Markham](https://forum.ansible.com/u/Paul_Markham)\
**Post date:** [August 6, 2015, 12:06am UTC](https://forum.ansible.com/t/environment-specific-files/18957/2 "2015-08-06T00:06:28Z")

</div>

If you have an Ansible variable which contains the environment you could then use something like {{environment}} anywhere you need to refer to environment specific files.

---

<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:** [August 6, 2015, 1:50pm UTC](https://forum.ansible.com/t/environment-specific-files/18957/3 "2015-08-06T13:50:14Z")

</div>

don't use environment as a variable, as it is an existing directive  
and can cause confusion ( i use myenv)
