You need Ansible version > 2.2
To install Ansible system wide:
-
Install Xcode
-
sudo easy_install pip
-
sudo pip install ansible
To install a specific version (2.2.0.0) of Ansible:
sudo pip install ansible==2.2.0.0
To upgrade to the latest version:sudo pip install ansible --upgrade --ignore-installed
The "--ignore-installed" prevents pip from trying to uninstall packages that are part of OSX and that were not installed by pip. -
sudo pip install python-keyczar