summaryrefslogtreecommitdiff
path: root/changelogs/fragments/76578-fix-role-argspec-suboptions-error.yml
diff options
context:
space:
mode:
authorFelix Fontein <felix@fontein.de>2023-01-19 21:21:41 +0100
committerGitHub <noreply@github.com>2023-01-19 14:21:41 -0600
commit165557df11aa24530aaec9d16df2b45dc8cf66d9 (patch)
tree7ebc54e7ab18bc3432ab55f58768d050a05504c9 /changelogs/fragments/76578-fix-role-argspec-suboptions-error.yml
parent014a1a5715c8c70689657064865ac75dbf2b1617 (diff)
downloadansible-165557df11aa24530aaec9d16df2b45dc8cf66d9.tar.gz
[2.14] fix role argument spec error for invalid suboptions & fix reporting of deprecated arguments for modules (#79738)
* fix role argument spec error for invalid suboptions (#76578) fixes https://github.com/ansible/ansible/issues/75536 (cherry picked from commit b5b239fd715d7c543562a6119db18699c00df582) * Fix reporting of deprecated arguments for modules. (#79681) (cherry picked from commit 1a47a21b65d3746a9feeeceea0cf15eaf011efef) Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
Diffstat (limited to 'changelogs/fragments/76578-fix-role-argspec-suboptions-error.yml')
-rw-r--r--changelogs/fragments/76578-fix-role-argspec-suboptions-error.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/76578-fix-role-argspec-suboptions-error.yml b/changelogs/fragments/76578-fix-role-argspec-suboptions-error.yml
new file mode 100644
index 0000000000..58f2f5f924
--- /dev/null
+++ b/changelogs/fragments/76578-fix-role-argspec-suboptions-error.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - Module and role argument validation - include the valid suboption choices in the error when an invalid suboption is provided.