add apt_repository role
This commit is contained in:
36
roles/apt_repository/meta/argument_specs.yml
Normal file
36
roles/apt_repository/meta/argument_specs.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: Apt repository
|
||||
description: "Gets apt repository gpg key from a url and adds repo to sources"
|
||||
options:
|
||||
repo_name:
|
||||
description: Name of the repository. Used in file names.
|
||||
type: str
|
||||
required: true
|
||||
repo_url:
|
||||
description: Url of the repository
|
||||
type: str
|
||||
required: true
|
||||
repo_key_url:
|
||||
description: Url of the repository signing key
|
||||
type: str
|
||||
required: true
|
||||
repo_arch:
|
||||
description: Architecture to use for the repsitory. You can use apt_arch variable here to use the system native archicecture.
|
||||
type: str
|
||||
required: false
|
||||
default: ''
|
||||
repo_suite:
|
||||
description: Suite of the repository. Usually distribution codename.
|
||||
type: str
|
||||
required: false
|
||||
default: "{{ ansible_distribution_release }}"
|
||||
repo_components:
|
||||
description: Components of the repository to use
|
||||
type: list
|
||||
elements: str
|
||||
required: false
|
||||
default:
|
||||
- main
|
||||
Reference in New Issue
Block a user