From 906e6a6acdc36e8e326722313909c06d0f30646b Mon Sep 17 00:00:00 2001 From: Arthur BOUDREAULT Date: Thu, 2 Jun 2022 12:54:36 +0000 Subject: [PATCH] fix: publish collection on Ansible Galaxy --- README-FR.md | 4 ++-- README.md | 2 +- galaxy.yml | 54 +++++++----------------------------------------- meta/runtime.yml | 1 + 4 files changed, 12 insertions(+), 49 deletions(-) create mode 100644 meta/runtime.yml diff --git a/README-FR.md b/README-FR.md index 2de31c8..0ab0d65 100644 --- a/README-FR.md +++ b/README-FR.md @@ -8,9 +8,9 @@ [![GitHub Release Date](https://img.shields.io/github/release-date/LydraFr/ansible-yunohost)](https://github.com/LydraFr/ansible-yunohost) [![GitHub Repo stars](https://img.shields.io/github/stars/LydraFr/ansible-yunohost?style=social)](https://github.com/LydraFr/ansible-yunohost) - Collection Ansible - `lydra.yunohost` +# Collection Ansible - `lydra.yunohost` -[🇬🇧 English version](README.md) +[🇬🇧 English version](README.md) (seulement sur [GitHub](https://github.com/LydraFr/ansible-yunohost/blob/main/README.md)) Cette collection vise à installer, configurer et sauvegarder [Yunohost](https://yunohost.org/#/). Comme il s'agit d'une collection indépendante, elle peut être publiée selon sa propre cadence de publication. De plus, les rôles qu'elle contient sont mis à jour indépendamment. diff --git a/README.md b/README.md index 0be9f00..fc83c66 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ # Ansible Collection - `lydra.yunohost` -[🇫🇷 French version](README-FR.md) +[🇫🇷 French version](README-FR.md) (only on [GitHub](https://github.com/LydraFr/ansible-yunohost/blob/main/README-FR.md)) This collection aims at installing, configuring and backing up [Yunohost](https://yunohost.org/#/). As this is an independent collection, it can be released on its own release cadence. Moreover, the roles it contains are updated independently. diff --git a/galaxy.yml b/galaxy.yml index 5796860..73901d8 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,65 +1,27 @@ -### REQUIRED -# The namespace of the collection. This can be a company/brand/organization or product namespace under which all -# content lives. May only contain alphanumeric lowercase characters and underscores. Namespaces cannot start with -# underscores or numbers and cannot contain consecutive underscores namespace: lydra - -# The name of the collection. Has the same character restrictions as 'namespace' name: yunohost - -# The version of the collection. Must be compatible with semantic versioning version: 1.0.0 - -# The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md - -# A list of the collection's content authors. Can be just the name or in the format 'Full Name (url) -# @nicks:irc/im.site#channel' authors: - Lydra () - - -### OPTIONAL but strongly recommended -# A short summary description of the collection description: Yunohost related Roles and Modules - -# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only -# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file' -license: -- GPL-3.0-or-later - -# The path to the license file for the collection. This path is relative to the root of the collection. This key is -# mutually exclusive with 'license' license_file: 'LICENSE' - -# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character -# requirements as 'namespace' and 'name' tags: - yunohost - cloud - web - -# Collections that this collection requires to be installed for it to be usable. The key of the dict is the -# collection label 'namespace.name'. The value is a version range -# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version -# range specifiers can be set and are separated by ',' -dependencies: {} - -# The URL of the originating SCM repository + - control repository: https://github.com/LydraFr/ansible-yunohost - -# The URL to any online docs documentation: https://github.com/LydraFr/ansible-yunohost/blob/main/README.md - -# The URL to the homepage of the collection/project homepage: https://github.com/LydraFr/ansible-yunohost - -# The URL to the collection issue tracker issues: https://lab.frogg.it/lydra/yunohost/ansible-yunohost/-/issues - # A list of file glob-like patterns used to filter any files or directories that should not be included in the build # artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This # uses 'fnmatch' to match the files or directories. Some directories and files like 'galaxy.yml', '*.pyc', '*.retry', -# and '.git' are always filtered -build_ignore: [] - +# and '.git' are always filtered. +# More info https://docs.ansible.com/ansible/devel/dev_guide/developing_collections_distributing.html#ignoring-files-and-folders +build_ignore: +- .git* +- .yamllint.yml +- Pip* +- .vscode diff --git a/meta/runtime.yml b/meta/runtime.yml new file mode 100644 index 0000000..d15cfe2 --- /dev/null +++ b/meta/runtime.yml @@ -0,0 +1 @@ +requires_ansible: ">=2.10"