Thats great.  And could likely use this as is , at times,  sometimes... but
the liklihood this gz bundle is exactly as we need it to be each time we
need it, is not likely.

What would be the recipe to creat this so can add delete chane parts as
needed.

I scrounged up this skeleton to create a remote installable archive  to
upgrade ancible on remote host.  Would executing something similar to this
as a playbook be part of how this gz is created ? Please comment. Thx


name: Archive the files

  archive:

    path: <path-to-folder>

    dest: <dest-zip-path>

    format: zip

  delegate_to: localhost

  become: false


On Tue, Apr 18, 2023, 5:37 PM Nico Kadel-Garcia <[email protected]> wrote:

> On Tue, Apr 18, 2023 at 3:40 PM for tan <[email protected]> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAOCN9rxaqzV%3Dx2maSRdzeSOEqOOdvpgr61xw4Uh0MzP3hJD7_g%40mail.gmail.com
> .
>

-- 
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/CAKz1iFPFL5oDM-KzyTZodQJJgvu%3DQdkdRmh_Z2gsA52aU6kmDg%40mail.gmail.com.

Reply via email to