mirror of https://github.com/ansible/ansible.git
Merge 01586ab132
into 6aa8192131
commit
a2269c9712
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Fix validating role params that may be unused by the role, but are supported by ansible-galaxy (https://github.com/ansible/ansible/issues/82154).
|
@ -0,0 +1,11 @@
|
||||
dependencies:
|
||||
# src/scm/version/role are used by ansible-galaxy when installing dependencies
|
||||
- src: a
|
||||
version: unknown
|
||||
a_str: required
|
||||
|
||||
# only validate these fields if the argument spec includes them
|
||||
- role: validate_role_req
|
||||
scm: svn
|
||||
src: othersource
|
||||
version: "1.0.0"
|
@ -0,0 +1,17 @@
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: Main entrypoint to test validating the overloaded role params scm, src, and version.
|
||||
options:
|
||||
scm:
|
||||
type: str
|
||||
description: role variable 'scm'
|
||||
choices:
|
||||
- "git"
|
||||
src:
|
||||
type: str
|
||||
description: role variable 'src'
|
||||
choices:
|
||||
- "src"
|
||||
version:
|
||||
type: int
|
||||
description: role variable 'version'
|
Loading…
Reference in New Issue