Keeping ansible-galaxy collections up to date?

Ralph Seichter ralph at ml.seichter.de
Tue May 7 16:24:10 UTC 2024


I have been trying to figure out how the Ansible ports bundle plugins,
in particular the community.general collection [1]. Not having made much
progress so far, I thought I'd ask here. The currently bundled version
of community.general included seems quite outdated, but a manual update
attempt leads to this:

  $ ansible-galaxy collection install community.general
  Starting galaxy collection install process
  Nothing to do. All requested collections are already installed. If you
  want to reinstall them, consider using `--force`.

Replacing "install" with "verify" in the command above shows that there
are hundreds of files on my machine which don't match community.general,
so what gives?

Before I potentially screw up files managed by MacPorts by using
--force, what is the official way to get plugins/roles/collections
updated? I would be happy to create Trac tickets, but for which ports?
There are multiple Python versions to consider; 3.12 is just the one I
currently use.

-Ralph

[1] https://galaxy.ansible.com/ui/repo/published/community/general/


More information about the macports-users mailing list