compatcheck: support macosx
This commit is contained in:
@@ -22,6 +22,7 @@ argument_specs:
|
|||||||
- ubuntu
|
- ubuntu
|
||||||
- fedora
|
- fedora
|
||||||
- archlinux
|
- archlinux
|
||||||
|
- macosx
|
||||||
version_min:
|
version_min:
|
||||||
description: Earliest supported major version. Allows any version if not specified.
|
description: Earliest supported major version. Allows any version if not specified.
|
||||||
type: int
|
type: int
|
||||||
@@ -31,7 +32,9 @@ argument_specs:
|
|||||||
type: int
|
type: int
|
||||||
required: false
|
required: false
|
||||||
package_managers:
|
package_managers:
|
||||||
description: List of supported package managers. Defaults to apt for debian and ubuntu, dnf for fedora, pacman for archlinux
|
description: >-
|
||||||
|
List of supported package managers. Defaults to apt for debian and ubuntu,
|
||||||
|
dnf for fedora, pacman for archlinux, homebrew for macosx
|
||||||
type: list
|
type: list
|
||||||
required: false
|
required: false
|
||||||
elements: str
|
elements: str
|
||||||
@@ -40,3 +43,4 @@ argument_specs:
|
|||||||
- dnf
|
- dnf
|
||||||
- pacman
|
- pacman
|
||||||
- atomic_container
|
- atomic_container
|
||||||
|
- homebrew
|
||||||
|
|||||||
@@ -5,4 +5,5 @@ _compatcheck_default_package_managers:
|
|||||||
ubuntu: apt
|
ubuntu: apt
|
||||||
fedora: dnf
|
fedora: dnf
|
||||||
archlinux: pacman
|
archlinux: pacman
|
||||||
|
macosx: homebrew
|
||||||
_compatcheck_default_package_manager: "{{ _compatcheck_default_package_managers[ansible_distribution | lower] }}"
|
_compatcheck_default_package_manager: "{{ _compatcheck_default_package_managers[ansible_distribution | lower] }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user