From abf6036bb23fcec5864fed1667e31b417f563df4 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 4 Nov 2024 17:06:58 -0600 Subject: Link to role argspec docs. Fixes #84164 (#84192) --- lib/ansible/modules/validate_argument_spec.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/validate_argument_spec.py b/lib/ansible/modules/validate_argument_spec.py index 8c75e8abb4..aa9fc00802 100644 --- a/lib/ansible/modules/validate_argument_spec.py +++ b/lib/ansible/modules/validate_argument_spec.py @@ -16,7 +16,8 @@ version_added: "2.11" options: argument_spec: description: - - A dictionary like AnsibleModule argument_spec. See R(argument spec definition,argument_spec). + - A dictionary like AnsibleModule argument_spec. + - See the C(options) parameter for the R(specification format,role_argument_spec). required: true provided_arguments: description: @@ -46,6 +47,8 @@ attributes: support: none platform: platforms: all +notes: + - It is unnecessary to call this module explicitly if the role contains an R(argument spec,role_argument_spec). """ EXAMPLES = r""" -- cgit v1.2.3