| 1 |
#SPDX-License-Identifier: MIT-0 |
| 2 |
# Copyright (c) 2019 Ansible Project |
| 3 |
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) |
| 4 |
|
| 5 |
# key: The name of the key as defined in galaxy.yml |
| 6 |
# description: Comment/info on the key to be used as the generated doc and auto generated skeleton galaxy.yml file |
| 7 |
# required: Whether the key is required (default is no) |
| 8 |
# type: The type of value that can be set, aligns to the values in the plugin formatter |
| 9 |
--- |
| 10 |
- key: namespace |
| 11 |
description: |
| 12 |
- The namespace of the collection. |
| 13 |
- This can be a company/brand/organization or product namespace under which all content lives. |
| 14 |
- May only contain alphanumeric lowercase characters and underscores. Namespaces cannot start with underscores or |
| 15 |
numbers and cannot contain consecutive underscores. |
| 16 |
required: yes |
| 17 |
type: str |
| 18 |
|
| 19 |
- key: name |
| 20 |
description: |
| 21 |
- The name of the collection. |
| 22 |
- Has the same character restrictions as C(namespace). |
| 23 |
required: yes |
| 24 |
type: str |
| 25 |
|
| 26 |
- key: version |
| 27 |
description: |
| 28 |
- The version of the collection. |
| 29 |
- Must be compatible with semantic versioning. |
| 30 |
required: yes |
| 31 |
type: str |
| 32 |
|
| 33 |
- key: readme |
| 34 |
description: |
| 35 |
- The path to the Markdown (.md) readme file. |
| 36 |
- This path is relative to the root of the collection. |
| 37 |
required: yes |
| 38 |
type: str |
| 39 |
|
| 40 |
- key: authors |
| 41 |
description: |
| 42 |
- A list of the collection's content authors. |
| 43 |
- Can be just the name or in the format 'Full Name <email> (url) @nicks:irc/im.site#channel'. |
| 44 |
required: yes |
| 45 |
type: list |
| 46 |
|
| 47 |
- key: description |
| 48 |
description: |
| 49 |
- A short summary description of the collection. |
| 50 |
type: str |
| 51 |
|
| 52 |
- key: license |
| 53 |
description: |
| 54 |
- Either a single license or a list of licenses for content inside of a collection. |
| 55 |
- Ansible Galaxy currently only accepts L(SPDX,https://spdx.org/licenses/) licenses |
| 56 |
- This key is mutually exclusive with C(license_file). |
| 57 |
type: list |
| 58 |
|
| 59 |
- key: license_file |
| 60 |
description: |
| 61 |
- The path to the license file for the collection. |
| 62 |
- This path is relative to the root of the collection. |
| 63 |
- This key is mutually exclusive with C(license). |
| 64 |
type: str |
| 65 |
|
| 66 |
- key: tags |
| 67 |
description: |
| 68 |
- A list of tags you want to associate with the collection for indexing/searching. |
| 69 |
- A tag name has the same character requirements as C(namespace) and C(name). |
| 70 |
type: list |
| 71 |
|
| 72 |
- key: dependencies |
| 73 |
description: |
| 74 |
- Collections that this collection requires to be installed for it to be usable. |
| 75 |
- The key of the dict is the collection label C(namespace.name). |
| 76 |
- The value is a version range |
| 77 |
L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). |
| 78 |
- Multiple version range specifiers can be set and are separated by C(,). |
| 79 |
type: dict |
| 80 |
|
| 81 |
- key: repository |
| 82 |
description: |
| 83 |
- The URL of the originating SCM repository. |
| 84 |
type: str |
| 85 |
|
| 86 |
- key: documentation |
| 87 |
description: |
| 88 |
- The URL to any online docs. |
| 89 |
type: str |
| 90 |
|
| 91 |
- key: homepage |
| 92 |
description: |
| 93 |
- The URL to the homepage of the collection/project. |
| 94 |
type: str |
| 95 |
|
| 96 |
- key: issues |
| 97 |
description: |
| 98 |
- The URL to the collection issue tracker. |
| 99 |
type: str |
| 100 |
|
| 101 |
- key: build_ignore |
| 102 |
description: |
| 103 |
- A list of file glob-like patterns used to filter any files or directories |
| 104 |
that should not be included in the build artifact. |
| 105 |
- A pattern is matched from the relative path of the file or directory of the |
| 106 |
collection directory. |
| 107 |
- This uses C(fnmatch) to match the files or directories. |
| 108 |
- Some directories and files like C(galaxy.yml), C(*.pyc), C(*.retry), and |
| 109 |
C(.git) are always filtered. |
| 110 |
- Mutually exclusive with C(manifest) |
| 111 |
type: list |
| 112 |
version_added: '2.10' |
| 113 |
|
| 114 |
- key: manifest |
| 115 |
description: |
| 116 |
- A dict controlling use of manifest directives used in building the collection artifact. |
| 117 |
- The key C(directives) is a list of MANIFEST.in style L(directives,https://packaging.python.org/en/latest/guides/using-manifest-in/#manifest-in-commands) |
| 118 |
- The key C(omit_default_directives) is a boolean that controls whether the default directives are used |
| 119 |
- Mutually exclusive with C(build_ignore) |
| 120 |
type: sentinel |
| 121 |
version_added: '2.14' |