I am using Trellis for my WordPress development and when updating to the latest version it required a newer version of Ansible. When I try to run the normal command on macOS High Sierra it fails as there is a package that cannot be uninstalled. However, if you ignore that package using the –ignore-installed flag you should be able to upgrade ansible to the latest version
sudo pip install ansible --upgrade --ignore-installed six
This should do it and the install should run normally. You can now check you version by running
ansible --version
…and if you need to downgrade (e.g. if you have an older version of Trellis) you can always uninstall Ansible and install a specific version with the following commands:
sudo pip uninstall ansible sudo pip install ansible==2.3.0.0
that’s cool. thanks