On Tue, Apr 5, 2022 at 3:34 PM David Moreau Simard <[email protected]> wrote:
>
> Hi all,
>
> We're happy to announce that the Ansible 5.6.0 package has been released !
>
> Ansible 5.6.0 includes ansible-core 2.12 as well as a curated set of
> Ansible collections to provide a vast number of modules and plugins.

I've updated my RPM building tools at
https://github.com/nkadel/ansiblerepo/ to version 5.6.0, and sent a
few notes to the author of the Fedora rawhide RPM for ansible to
include some of my fixes for it. Those include publishing the license
files as '%doc' , rather than locked into the package, and segregating
the other docs into a separate ansible-doc package.

I do believe I sent you a personal note about that when I saw your
name on the Fedora packages.

> Getting collection updates from Ansible 5 with ansible-core 2.11.x
> -----------------------------------------------------------------
>
> Ansible 5 includes ansible-core 2.12.x which has raised the minimum
> python requirement to python>=3.8 and users have expressed an interest
> in getting collection updates as they ship in Ansible 5 while keeping
> ansible-core 2.11.x which still supports python>=2.7.
> An ansible-galaxy requirements file based on the collections from
> Ansible 5 has been made available for this use case:
> https://github.com/ansible-community/ansible-build-data/blob/main/5/galaxy-requirements.yaml

I really wish you or the appropriate upstream maintainer could update
the documentation to stop saying this. It's just not true.
ansible-core is a dependency it is not included, and it's a very
confusing claim.

Also, ansible 5 seems to run fine using ansible-core 2.11 releases,
with these options for installation::

    * pip3 install --user ansible-core # installs ansible-core with python 3.6
    * pip3 install --user ansible --no-deps # ignores ansible-core
version, installs ansible 5.6.0

It's similar to what my RPM .spec files do, though they're  more
thorough about using RPM dependency management for ansible-core and
ansible. They're also more thorough about replacing:

       #!/ur/binpython
 or

       #!/usr/bin/env python

with:

       #!/usr/bin/python3

-- 
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/CAOCN9rz7AyvmZiU9KQtu%2BmC7YvwsisFFQouY2-t%2B19fkVLrPYQ%40mail.gmail.com.

Reply via email to