# Multiple instances of the same software on a machine

**URL:** <https://forum.ansible.com/t/multiple-instances-of-the-same-software-on-a-machine/19421>\
**Category:** Ansible Project\
**Created:** [October 2, 2015, 5:25pm UTC](https://forum.ansible.com/t/multiple-instances-of-the-same-software-on-a-machine/19421 "2015-10-02T17:25:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dale1](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@Dale1](https://forum.ansible.com/u/Dale1)\
**Post date:** [October 2, 2015, 5:25pm UTC](https://forum.ansible.com/t/multiple-instances-of-the-same-software-on-a-machine/19421/1 "2015-10-02T17:25:48Z")

</div>

Hi  
Im working on an ansible role that allows an application with a distributed architecture to be installed on a set of machines. The architecture consists of N independent nodes, which operate within their own address space and communicate through HTTP. So far everything seems straightforward. For each machine, it allow parameters to be overrriden in the inventory file per host. For example,

i.e.

```auto
[eastcoast]
eastcoast01 name="node01" memory=2GB

```

---

<div class="post-metadata">

**Author:** ![Dick\_Davies](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Post date:** [October 12, 2015, 11:23am UTC](https://forum.ansible.com/t/multiple-instances-of-the-same-software-on-a-machine/19421/2 "2015-10-12T11:23:16Z")

</div>

I’d look at a parameterised role. you can apply the role multiple times to the same  
group of nodes with different parameters.

[http://docs.ansible.com/ansible/playbooks\_roles.html](http://docs.ansible.com/ansible/playbooks_roles.html)
