.. _collections_galaxy_meta: ************************************ Collection Galaxy Metadata Structure ************************************ .. important:: This feature is available in Ansible 2.8 as a *Technology Preview* and therefore is not fully supported. It should only be used for testing and should not be deployed in a production environment. Future Galaxy or Ansible releases may introduce breaking changes. A key component of an Ansible collection is the ``galaxy.yml`` file placed in the root directory of a collection. This file contains the metadata of the collection that is used to generate a collection artifact. Structure ========= The ``galaxy.yml`` file must contain the following keys in valid YAML: .. raw:: html
Key | Comments |
---|---|
@{ entry.key }@
@{ entry.type | documented_type }@
{% if entry.get('required', False) %} / required{% endif %}
|
{# Comments #}
{% if entry.description is string %}
@{ entry.description | replace('\n', '\n ') | html_ify }@
{% else %}
{% for desc in entry.description %}
@{ desc | replace('\n', '\n ') | html_ify }@
{% endfor %}
{% endif %}
|