# Best practise for development only Role

**URL:** <https://forum.ansible.com/t/best-practise-for-development-only-role/19090>\
**Category:** Ansible Developer\
**Created:** [August 23, 2015, 2:42pm UTC](https://forum.ansible.com/t/best-practise-for-development-only-role/19090 "2015-08-23T14:42:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Parkin](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@Michael\_Parkin](https://forum.ansible.com/u/Michael_Parkin)\
**Post date:** [August 23, 2015, 2:42pm UTC](https://forum.ansible.com/t/best-practise-for-development-only-role/19090/1 "2015-08-23T14:42:22Z")

</div>

Hello,

I have an ansible role for installing “MailHog”, a piece of software that provides a GUI for `caught` mail from a webserver.

This is incredibly useful on local development as it can guarantee that emails won’t accidentally be sent during local development - but not something we would want on staging or production servers.

I currently have a ‘provision.yml’ playbook, with 3 inventory files (staging,development,production).

What is the best practice approach to installing a role but only to the development server?

Thanks  
Mike
