# Error when using vagrant up

**URL:** https://discourse.roots.io/t/error-when-using-vagrant-up/15597
**Category:** trellis
**Created:** 2019-05-21T13:42:44Z
**Posts:** 6

## Post 1 by @roberto — 2019-05-21T13:42:44Z

I’m using an older version of Trellis (pre 1.0) on a fresh MacOS (latest). When I run vagrant up I’m getting the following error:

`ERROR! Unexpected Exception, this is probably a bug: 'PlaybookCLI' object has no attribute 'options'`

When I uninstall Ansible vagrant up completes without an error, but I’d like to keep Ansible installed. Does anyone have a clue what could be the issue here?

---

## Post 2 by @TangRufus — 2019-05-21T21:47:10Z

Downgrade ansible to `< 2.8`

---

## Post 3 by @roberto — 2019-05-22T08:26:29Z

Thanks so much. Does the trick!

---

## Post 4 by @dpc — 2019-06-18T09:10:53Z

how did you actually downgrade? Same issue here… Thanks! D.

---

## Post 5 by @ianjamieson — 2019-06-24T05:46:37Z

> [@dpc](#):
>
> how did you actually downgrade? Same issue here… Thanks! D.

```
sudo pip uninstall ansible

sudo pip install ansible==2.7
```

If you followed the install instructions linked [here](https://roots.io/trellis/docs/remote-server-setup/#requirements) and used pip

---

## Post 6 by @adsoink — 2019-07-02T00:11:49Z

The downgrade opens up a number of other problems, and personally receive the same error on both Mac and Linux with clean installs of Python 3.7, Ansible 2.7, etc…

Is there another workaround?

---

## Post 7 by @system — 2019-07-02T13:42:46Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
