# Bash error during Trellis server provisioning

**URL:** https://discourse.roots.io/t/bash-error-during-trellis-server-provisioning/14414
**Category:** trellis
**Created:** 2018-12-20T02:38:48Z
**Posts:** 9
**Showing post:** 5 of 9

## Post 5 by @swalkinshaw — 2018-12-20T04:19:36Z

Thank you for the great debugging and details by the way :smile:

This sounds like it _could_ be an issue with your `hosts` files in Trellis. Do you happen to have the same host/IP in multiple hosts files?

If so, here’s a great explanation/solution:

> [@Production server provision configures Staging envs if hosts are the same - Bug or Intention?](https://discourse.roots.io/t/production-server-provision-configures-staging-envs-if-hosts-are-the-same-bug-or-intention/6090/2):
>
> @craigpearson Thank you for reporting this! It is definitely not the intention that Trellis will load staging information when you specify env=production. It’s an ‘unexpected behavior’ resulting from an unexpected usage of including your host 195.50.84.246 in multiple environment groups (in [staging] and [production] simultaneously). Ansible sees multiple groups for the host and picks one; not always the one you want. Your unexpected usage is to have both staging and production on the same serv…

---

_[View the full topic](https://discourse.roots.io/t/bash-error-during-trellis-server-provisioning/14414)._
