Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742536 - app-admin/ansible-2.10 is missing portage collection
Summary: app-admin/ansible-2.10 is missing portage collection
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-14 18:02 UTC by Guillaume Seren
Modified: 2020-10-01 10:04 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Seren 2020-09-14 18:02:30 UTC
Hey !
since ansible-2.10 the modules are migrate to ansible-galaxy collections [1].

So I was searching the missing modules, and missed them a couple of times,
so I wanted to share how I ended installed them.

The general collection (all default modules) [2],
and you can install it by:

$ ansible-galaxy collection install community.general

Maybe it can usefull to add a post-install message for the users ?


Guillaume
1: https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.10.html
2: https://galaxy.ansible.com/community/general
Comment 1 r7l 2020-09-16 14:08:50 UTC
Just updated and figured that a large number of my playbooks are broken. Not to speak of general settings like stdout_callback in ansible.cfg.

There should be warning at least.

I was reading the docs and it seems like there is some community version that should be like Ansible 2.9:

https://github.com/ansible-collections/overview/blob/main/README.rst#q-once-the-next-version-of-ansible-is-released-will-my-playbooks-still-work

It states:

Q: Once the next version of Ansible is released, will my playbooks still work

For users of the community version of ansible pip/apt-get install ansible will continue to give you a working install of Ansible including the three thousand plus modules that previously shipped with Ansible 2.9.

This sounds as if the PIP / Debian / Ubuntu version will be shipped as it was before 2.10. But maybe i am getting it wrong.

Somehow it would be awesome if there would be a way to get some of the most common community modules and plugins as useflags.
Comment 2 Guillaume Seren 2020-09-23 18:59:46 UTC
Hey,

(In reply to r7l from comment #1)
> https://github.com/ansible-collections/overview/blob/main/README.rst#q-once-
> the-next-version-of-ansible-is-released-will-my-playbooks-still-work
> 
> This sounds as if the PIP / Debian / Ubuntu version will be shipped as it
> was before 2.10. But maybe i am getting it wrong.

I was thinking the same, it is a surprising move,
but installing the collection solve it.
Comment 3 Guillaume Seren 2020-10-01 10:04:27 UTC
Ok let's close this