Trellis no longer supports Ansible 2.3.1.0

ERROR! Trellis no longer supports Ansible 2.3.1.0.
Please upgrade to Ansible 2.4.0.0 or higher.
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

I unfortunately don’t have the time to upgrade/downgrade Trellis on different projects that I’m working on, and just wondering if anybody has faced this issue and came to a quick (maybe even dirty) solution.

1 Like

With pip it takes a few seconds to change to whichever version of Ansible you need for a given project.

For this current project for which you’ve updated Trellis, you could
pip install ansible==2.4.0.0
If running 2.4 doesn’t work for this project (e.g., in case you have customizations that are incompatible with 2.4), hopefully you have this project under version control and can save your latest updates to a separate branch then undo changes.

When you need to work on a project with an older version of Trellis that doesn’t accommodate Ansible 2.4 (i.e., produces errors like these), you could
pip install ansible==2.3.2.0

Using pip for changing Ansible version has always been quick and reliable for me, but note the discussion of using Virtualenv to address the issue:

7 Likes