# Specfic multistage application deployment methodology

**URL:** <https://forum.ansible.com/t/specfic-multistage-application-deployment-methodology/19141>\
**Category:** Ansible Project\
**Created:** [August 29, 2015, 12:33am UTC](https://forum.ansible.com/t/specfic-multistage-application-deployment-methodology/19141 "2015-08-29T00:33:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrzej\_Osmialowski](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@Andrzej\_Osmialowski](https://forum.ansible.com/u/Andrzej_Osmialowski)\
**Post date:** [August 29, 2015, 12:33am UTC](https://forum.ansible.com/t/specfic-multistage-application-deployment-methodology/19141/1 "2015-08-29T00:33:01Z")

</div>

Hi Guys,

I have a specific problem: I have an application I need to deploy to two group of servers: staging and production (there are some multiple machines). The problem is that I load only one inventory at the time (hosts/staging or hosts/production), but I need to build release application on development machine. Ansible does know nothing about development environment while running deployment for staging or production environment.

Any suggestions or tips how this can be achieved? I’m pretty sure I’m missing some important point or Ansible feature.

Best,  
A.

---

<div class="post-metadata">

**Author:** ![Greg\_Bell](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@Greg\_Bell](https://forum.ansible.com/u/Greg_Bell)\
**Post date:** [August 30, 2015, 10:10pm UTC](https://forum.ansible.com/t/specfic-multistage-application-deployment-methodology/19141/2 "2015-08-30T22:10:01Z")

</div>

I’m not understanding your problem, and am too new to help anyway, but I’ll ask a clarifying question: Are you hoping Ansible sets up your development environment, or that it accesses it during deployment?
