Ansible 2.0 installation on Ubuntu

653 views
Skip to first unread message

Yoel

unread,
Jan 28, 2016, 9:48:12 AM1/28/16
to Ansible Project
Hi,

I'm trying to install ansible 2.0 on an Ubuntu Ubuntu 14.04.3 LTS (trusty)
.

I'm a little confused
I followed the installation guide bellow:
$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update
$ sudo apt-get install ansible
But when I checked the installed version:
$ ansible --version
ansible 1.9.2
  configured module search path = None
And if I check the installed version:
$apt-cache policy ansible
ansible:
  Installé : 2.0.0.2-1ppa~trusty
  Candidat : 2.0.0.2-1ppa~trusty
 Table de version :
 *** 2.0.0.2-1ppa~trusty 0
        500 http://ppa.launchpad.net/ansible/ansible/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     1.7.2+dfsg-1~ubuntu14.04.1 0
        100 http://fr.archive.ubuntu.com/ubuntu/ trusty-backports/universe amd64 Packages
     1.5.4+dfsg-1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

Could you tell me what is wrong?

Thanks,

Yoel

Yoel

unread,
Feb 2, 2016, 3:55:22 AM2/2/16
to Ansible Project
Solved.

The cause: Ansible was also installed with pip.
I removed from pip and all is ok.
Reply all
Reply to author
Forward
0 new messages