I'm also running Ubuntu 18.04. As ansible is a python package you can 
update via python like this

pip3 install --user --upgrade pip
pip3 install --user ansible
hash -r 
You then get:

$ ansible --version 
ansible 2.10.8 
 config file = /home/user/git/ansible-win/ansible.cfg 
 configured module search path = ['/home/user/.ansible/plugins/modules', 
'/usr/share/ansible/plugins/modules'] 
 ansible python module location = 
/home/user/.local/lib/python3.6/site-packages/ansible 
 executable location = /home/user/.local/bin/ansible 
 python version = 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0]

Oleh Steblyna schrieb am Mittwoch, 28. April 2021 um 13:16:20 UTC+2:

> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:    *Ubuntu 18.04.5 LTS*
> Release:        18.04
> Codename:       bionic
>
> $ sudo apt-get update
> *Hit:1 http://ppa.launchpad.net/ansible/ansible-2.10/ubuntu 
> <http://ppa.launchpad.net/ansible/ansible-2.10/ubuntu> bionic InRelease*
> Hit:2 https://apt.releases.hashicorp.com bionic InRelease
> Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
> Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease
> Hit:5 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease
> Hit:6 http://us.archive.ubuntu.com/ubuntu bionic InRelease
> Hit:7 http://security.ubuntu.com/ubuntu bionic-security InRelease
> Hit:8 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
> Hit:9 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
> Reading package lists... Done
>
> $ sudo apt-cache policy ansible
> ansible:
>   Installed: (none)
>   Candidate: 2.5.1+dfsg-1ubuntu0.1
>   Version table:
>      *2.9.20*-1ppa~bionic -1
>         100 /var/lib/dpkg/status
>      2.5.1+dfsg-1ubuntu0.1 500
>         500 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe 
> amd64 Packages
>         500 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe 
> i386 Packages
>         500 http://security.ubuntu.com/ubuntu bionic-security/universe 
> amd64 Packages
>         500 http://security.ubuntu.com/ubuntu bionic-security/universe 
> i386 Packages
>      2.5.1+dfsg-1 500
>         500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 
> Packages
>         500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 
> Packages
>
> Ansible 2.10 is not available in official package? What am I doing wrong?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3c9e76fc-c1b8-44e8-bc45-1b44f2b8c102n%40googlegroups.com.

Reply via email to