summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorSloane Hertel <19572925+s-hertel@users.noreply.github.com>2021-11-24 13:09:10 -0500
committerGitHub <noreply@github.com>2021-11-24 10:09:10 -0800
commit2556e330771cfdce5491330638143837f5864524 (patch)
treea116e33bbc7fdfc45f0c7d8e014fd9ce15d00e4c /changelogs
parent8e8c4be23f5f0415662de9f1a21096fa7a7400aa (diff)
downloadansible-2556e330771cfdce5491330638143837f5864524.tar.gz
Skip recursive suboption validation if sub_parameters is not a dict (#75635) (#76190)
* Skip recursive suboption validation if sub_parameters is not a dictionary * Ensure sub parameter elements is a sequence to prevent iterating over string characters and causing duplicate error messages for the same param (cherry picked from commit b5ed41edb34a387c560e172ee2928cc8ac9b4959)
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/75635-fix-role-argspec-suboption-validation.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/75635-fix-role-argspec-suboption-validation.yml b/changelogs/fragments/75635-fix-role-argspec-suboption-validation.yml
new file mode 100644
index 0000000000..981f2548c3
--- /dev/null
+++ b/changelogs/fragments/75635-fix-role-argspec-suboption-validation.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - validate_argument_spec - Skip suboption validation if the top level option is an invalid type (https://github.com/ansible/ansible/issues/75612).