ansible / galaxy

Legacy Galaxy still available as read-only on https://old-galaxy.ansible.com - looking for the new galaxy -> https://github.com/ansible/galaxy_ng
Apache License 2.0
852 stars 330 forks source link

Collection of Playbooks / Playbook Bundle list no content in Galaxy #2163

Open hxtree opened 4 years ago

hxtree commented 4 years ago

Bug Report

SUMMARY

I have a collection of playbooks I'm looking to publish to enable others to easily manage their stack as we do; https://galaxy.ansible.com/hxtree/lxd_cloud. It seems like this would be done using a collection, which I understand is a newer feature still under development, as the playbook section within the Ansible docs suggests. https://docs.ansible.com/ansible/latest/dev_guide/developing_collections.html#id13

Anyways, when I import the collection it doesn't show any playbooks listed under content tab. for https://galaxy.ansible.com/hxtree/lxd_cloud

And although there is a checkbox for playbooks and the group within Ansible Galaxy is called "Playbook Bundles" I see no collections featuring a playbooks (only plugins, roles, and modules).

I understand this is likely under development, but did not see any open bugs in this regards. So I'm reporting as to hopefully move this along.

If there is another way I should be distributing this collection of playbooks, please advise.

STEPS TO REPRODUCE

Create a collection containing playbooks, as per docs. https://docs.ansible.com/ansible/latest/dev_guide/developing_collections.html#id13

ansible-galaxy collection build

Upload build file to Galaxy

EXPECTED RESULTS

Playbooks would be listed under content tab when upload is complete

ACTUAL RESULTS

Playbooks are not listed under Galaxy content tab when complete

Playbooks would be automatically included in Content tab of Galaxy. https://galaxy.ansible.com/hxtree/lxd_cloud ACTUAL RESULTS

chouseknecht commented 4 years ago

FYI... playbooks are not currently part of the collection spec. You'll notice that they're a TBD item in the docs: https://docs.ansible.com/ansible/latest/dev_guide/developing_collections.html#id13

hxtree commented 4 years ago

Yes, I saw that :-)

... which I understand is a newer feature still under development, as the playbook section within the Ansible docs suggests. https://docs.ansible.com/ansible/latest/dev_guide/developing_collections.html#id13

guits commented 1 year ago

hello @chouseknecht , just curious, is there any update on this?