From fa75c213f8994246f770946badf639cdce9b5cd5 Mon Sep 17 00:00:00 2001 From: Melekhin Anton Date: Wed, 4 Sep 2024 21:21:02 +0400 Subject: [PATCH] add `meta/argument_specs.yml` file --- README.md | 2 +- meta/argument_specs.yml | 26 ++++++++++++++++++++++++++ meta/main.yml | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 meta/argument_specs.yml diff --git a/README.md b/README.md index b83d17e..16912da 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ An Ansible role that adds the [Microsoft repository](https://packages.microsoft. Requirements ------------ -- Supported version of Ansible: 2.9 and highter. +- Supported version of Ansible: 2.12 and highter. - Supported platforms: - Debian - 10 diff --git a/meta/argument_specs.yml b/meta/argument_specs.yml new file mode 100644 index 0000000..deeeb23 --- /dev/null +++ b/meta/argument_specs.yml @@ -0,0 +1,26 @@ +--- +argument_specs: + main: + short_description: 'Microsoft Repository' + description: + - 'An Ansible role that adds the L(Microsoft repository,https://packages.microsoft.com) to Linux distributions and installs packages from it.' + author: + - 'Melekhin Anton' + options: + microsoft_repository_mirror_url: + type: 'str' + description: 'The Microsoft repository mirror.' + default: 'https://packages.microsoft.com' + microsoft_repository_gpgkey_url: + type: 'str' + description: + - 'Specify where to fetch the Microsoft repository GPG key file from.' + - 'By default, the role uses the official Microsoft repository GPG key.' + default: '{{ microsoft_repository_mirror_url }}/keys/microsoft.asc' + microsoft_repository_dirs_list: + type: 'list' + elements: 'dict' + description: 'A list of repository directories.' + microsoft_repository_packages: + type: 'list' + description: 'A list of packages you want to install.' diff --git a/meta/main.yml b/meta/main.yml index b29aba9..1d9ef61 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -6,7 +6,7 @@ galaxy_info: license: 'MIT' - min_ansible_version: '2.9' + min_ansible_version: '2.12' platforms: - name: 'Debian'