Files
ansible-general/roles/apt_repository/meta/argument_specs.yml
2025-01-27 04:53:33 +02:00

36 lines
1.1 KiB
YAML

---
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