On Tue, Apr 18, 2023 at 3:40 PM for tan <sciencelif...@gmail.com> wrote:
>
>
> how can we download ( not install - at least for now) all files for ansible 
> to a zip ?

It's published as a gzip:

     https://files.pythonhosted.org/packages/source/a/ansible-7.4.0.tar.gz

These are consistently published at pypi.org:

    https://pypi.org/project/ansible/#files

Mind you: you probably don't want zip when there is already a
published gzipped tarball. And, frankly, you probably don't really
want the "ansible" package. You probably really want the
"ansible-core" package, which was split in a very confusing fashion
from the mountain of ansible_collections modules that are published as
the "ansible" tarball, but is of no use without ansible-core.
ansible-core gets you the tools to pull down the "collections" modules
only if and as needed, and that can save you hundreds of Megabytes of
local space filled with bulky modules you don't use on your ansible
server.

Nico Kadel-Garcia

> and then - later on ( not immediately) use this downloaded archive to install 
> ansible to create  new or existing ansible  or non ansible host  ( Why they 
> want to do zip/gz vs installing via   "sudo pip Install ansible "  I do not 
> know - please don't ask since I don't know "why must zip or gz it" ).
>
> can we  after installing  it simply zip up pristene ansible installation from 
> what was installed on Ubuntu ?  and later unzip this to a new host  in order 
> to get ansible working on new host ?

Not..... gracefully. I publish packaging tools to stay up-to-date for
ansible and ansible-core for RHEL systems, Step back to ansible-core,
which is well packaged for recent Ubuntu releases, and see if you
actually want or need the "ansible" package.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAOCN9rxaqzV%3Dx2maSRdzeSOEqOOdvpgr61xw4Uh0MzP3hJD7_g%40mail.gmail.com.

Reply via email to