# Working on more than one project at once?

**URL:** <https://forum.ansible.com/t/working-on-more-than-one-project-at-once/19652>\
**Category:** Ansible Project\
**Created:** [October 29, 2015, 4:01pm UTC](https://forum.ansible.com/t/working-on-more-than-one-project-at-once/19652 "2015-10-29T16:01:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Spreitzer](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@Mike\_Spreitzer](https://forum.ansible.com/u/Mike_Spreitzer)\
**Post date:** [October 29, 2015, 4:01pm UTC](https://forum.ansible.com/t/working-on-more-than-one-project-at-once/19652/1 "2015-10-29T16:01:16Z")

</div>

As a developer working on two projects at once, both using Ansible, is there a well worn path for how to keep the two sets of Ansible configuration separate but easy to switch between?

Thanks,  
Mike

---

<div class="post-metadata">

**Author:** ![Kevin\_Bullock](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@Kevin\_Bullock](https://forum.ansible.com/u/Kevin_Bullock)\
**Post date:** [October 29, 2015, 4:38pm UTC](https://forum.ansible.com/t/working-on-more-than-one-project-at-once/19652/2 "2015-10-29T16:38:34Z")

</div>

Keep your ansible.cfg in the root of the project containing your playbooks. Ansible commands will look for the config file in the current directory first. I've been doing this for over a year with no issues.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和  
Kevin R. Bullock

---

<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 29, 2015, 4:47pm UTC](https://forum.ansible.com/t/working-on-more-than-one-project-at-once/19652/3 "2015-10-29T16:47:07Z")

</div>

the configs also have a env var equivalent, so having 2 files which  
you can source also works to easily switch environments.
