-
I am trying to do public posting of my collection.
-
Collection is getting posting. But I cannot see my playbooks in
-
My playbooks are in the artifact/.gz files. But it is not listing in Ansible Galaxy
Welcome to the Ansible Forum!
This should generally work, see for example Ansible Galaxy, which has two playbooks: community.sops/playbooks at main Β· ansible-collections/community.sops Β· GitHub
Is it possible you donβt have the playbooks in a playbooks/ subdirectory, or that their names are not valid Python identifiers? Without seeing your collection, itβs hard to say what could have gone wrongβ¦
Thanks @felixfontein for responding!!
This is my collection - Ansible Galaxy
I downloaded the collection tarball and have taken a look. The playbooks are all in subdirectories under playbooks, this is why they wonβt be rendering on Galaxy most likely.
playbooks/
βββ aaa
βββ app-exporter
βββ async_example
βββ card
βββ card_all
βββ chassis
βββ common_inventory_example
βββ common_tasks
βββ device_backup
βββ device_ntp
βββ device_snmp
βββ device_upgrade_delete
βββ device_upgrade_reset
βββ device_upgrade_resume
βββ device_upgrade_retry
βββ device_upgrade_summary_facts
As @felixfontein showed in the community.sops collection, the playbooks themselves should be located directly under the playbooks directory.
Thanks @dbrennand !