43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
---
|
|
argument_specs:
|
|
main:
|
|
short_description: Checks that the host is running a supported os
|
|
description:
|
|
- Checks that the host is runing a supported os.
|
|
- Supported distros and versions are defined by the compatcheck_supported_distros variable.
|
|
- This role is used by other roles to check compatibility.
|
|
options:
|
|
compatcheck_supported_distributions:
|
|
description: A list of distros and versions supported by the role.
|
|
type: list
|
|
required: true
|
|
elements: dict
|
|
options:
|
|
name:
|
|
description: Name of the distro, in lowercase
|
|
type: str
|
|
required: true
|
|
choices:
|
|
- debian
|
|
- ubuntu
|
|
- fedora
|
|
- archlinux
|
|
version_min:
|
|
description: Earliest supported major version. Allows any version if not specified.
|
|
type: int
|
|
required: false
|
|
version_max:
|
|
description: Last supported major version. Allows any version if not specified.
|
|
type: int
|
|
required: false
|
|
package_managers:
|
|
description: List of supported package managers. Defaults to apt for debian and ubuntu, dnf for fedora, pacman for archlinux
|
|
type: list
|
|
required: false
|
|
elements: str
|
|
choices:
|
|
- apt
|
|
- dnf
|
|
- pacman
|
|
- atomic_container
|