Playbooks are not posted in site

  • 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 !