Best practise for development only Role

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