How to create configuration templates for the local hub?

I’m using the filetree_create role from the infra.aap_configuration collection and have noted that there are no files created with configuration templates for any hub components. Am I doing something wrong, or is there any other way to create a dump of my hub config I can use as template for further configuration?