Error when using vagrant up

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?

1 Like

Downgrade ansible to < 2.8

1 Like

Thanks so much. Does the trick!

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 and used pip

3 Likes

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?

2 Likes

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