Skip to content

Commit

Permalink
feat: add meta/argument_specs.yml file (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
antmelekhin committed Sep 4, 2024
1 parent 82c32f8 commit 5665283
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions meta/argument_specs.yml
Original file line number Diff line number Diff line change
@@ -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.'
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ galaxy_info:

license: 'MIT'

min_ansible_version: '2.9'
min_ansible_version: '2.12'

platforms:
- name: 'Debian'
Expand Down

0 comments on commit 5665283

Please sign in to comment.