##### SUMMARY

When I run `ansible-galaxy [type] init`, I would like to be able to use my own configured 'skeleton' to init that content.

For Ansible roles, when running `ansible-galaxy role init myrole`, I can configure a [`GALAXY_ROLE_SKELETON`](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#galaxy-role-skeleton) in my `ansible.cfg`, and the init command will use that skeleton as the source for the new role.

For Ansible collections, currently there's a bug (https://github.com/ansible/ansible/issues/66255) that causes collections to use that skeleton if its set (which can lead to some confusion)—but once that bug's fixed, there's no way to specify a skeleton for a collection.

So this feature request is to add a new configuration option `GALAXY_COLLECTION_SKELETON` (environment variable `ANSIBLE_GALAXY_COLLECTION_SKELETON`) which allows a collection skeleton to be specified.

Note: the docs for `GALAXY_ROLE_SKELETON` currently state:

> Role or collection skeleton directory to use as a template for the `init` action in `ansible-galaxy`, same as `--role-skeleton`.

Therefore that would need adjusting too, if the previously mentioned bug doesn't fix that.

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME

ansible-galaxy init

##### ADDITIONAL INFORMATION

N/A
return os.path.abspath(os.path.expanduser(os.path.expandvars(path)))
    @staticmethod
    def _get_skeleton_galaxy_yml(template_path, inject_data):
        with open(to_bytes(template_path, errors='surrogate_or_strict'), 'rb') as template_obj:
            meta_template = to_text(template_obj.read(), errors='surrogate_or_strict')
        galaxy_meta = get_collections_galaxy_meta_info()
        required_config = []
        optional_config = []
        for meta_entry in galaxy_meta:
            config_list = required_config if meta_entry.get('required', False) else optional_config
            value = inject_data.get(meta_entry['key'], None)
            if not value:
                meta_type = meta_entry.get('type', 'str')
                if meta_type == 'str':
                    value = ''
                elif meta_type == 'list':
                    value = []
                elif meta_type == 'dict':
                    value = {}
            meta_entry['value'] = value
            config_list.append(meta_entry)
        link_pattern = re.compile(r"L\(([^)]+),\s+([^)]+)\)")
        const_pattern = re.compile(r"C\(([^)]+)\)")
        def comment_ify(v):