I was initially trying to upgrade my ansible version from 1.9 to 1.9.2.
I tried using yum with the following command:
yum update -y ansible
But I ended up with this error:
No packages marked for update
I tried upgrading using pip after that with the following command:
sudo pip install --upgrade ansible==1.9.2
and when I checked for the version it still showed 1.9
ansible --version
ansible 1.9 (devel affb66416f) last updated 2015/11/04 09:09:40 (GMT +100)