Open a-haurylau opened 6 months ago
ansible-freeipa is using a script to create the collection from the repo: utils/build-galaxy-release.sh
This script is changing nearly all files (roles, modules, module_utils, playbooks, examples, readme files, tests and action group) in the repo to use the proper name space for Ansible galaxy or Ansible AutomationHub. The version A.B.C
is used so that the automatic generation without the script will fail as the generated collection will not be useful without the modifications.
Hmm, but it means that in order to use this collection in some kind of automation systems (like AWX) following procedure should be performed:
I hoped that it will be done 'automagically' by using
collections:
- name: https://github.com/freeipa/ansible-freeipa.git
type: git
version: v1.12.0
as with any other non-official collection.
The ansible-freeipa collection is officially available at Ansible galaxy and also Ansible AutomationHub.
On galaxy as freeipa.ansible_freeipa: https://galaxy.ansible.com/ui/repo/published/freeipa/ansible_freeipa/ On AutomationHub as redhat.rhel_idm
When trying to include collection from AWX with simple collections/requirements.yml
We receive following:
I suspect that its caused be following
version: "A.B.C"
in topdir galaxy.yml. Is it possible to match this to git version tag?