I have followed the course setting up Ansible using the ubuntu-setup.sh as shown, which adds the PPA and then installs ansible. However the version from I get using ansible --version is only 22.214.171.124. I think this is an earlier version than expected, since when using the alternatives module did it not support the priority parameter which was added in version 2.2.
I followed the set as per the lesson, but somehow Justin gets a later version of Ansible than me.
What might have gone wrong or has something changed since the course was recorded?
This is the start of my ubuntu-setup.sh
sudo apt-get update
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get upgrade
sudo apt-get install ansible -y