mirror of https://github.com/ansible/ansible.git
Merge aa023fb9e7 into 869088b959
commit
627ce7d8ca
@ -0,0 +1,7 @@
|
||||
bugfixes:
|
||||
- >-
|
||||
Implicit role validate_argument_spec tasks now only validate documented role params.
|
||||
Previously, all role params had to be documented, making it difficult to use
|
||||
dependencies (which often specify role params for ansible-galaxy install) or overriding
|
||||
variables not specific to the dependency (such as connection variables).
|
||||
(https://github.com/ansible/ansible/issues/82154)
|
||||
@ -0,0 +1,7 @@
|
||||
dependencies:
|
||||
# src/scm/version/role are used by ansible-galaxy when installing dependencies
|
||||
# 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,8 @@
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: Main entrypoint to test validating documented role params
|
||||
options:
|
||||
version:
|
||||
description:
|
||||
- Role argument which intentionally conflicts with ansible-galaxy dependency syntax.
|
||||
type: int
|
||||
Loading…
Reference in New Issue