Removed parameter-list-no-elements validation errors from redfish modules (#1761)

* Removed parameter-list-no-elements validation errors from redfish modules

* added changelog fragment per PR

* Update changelogs/fragments/1761-redfish-tidy-up-validation.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Alexei Znamensky 2021-02-12 18:47:23 +13:00 committed by GitHub
commit ba4a98b1be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 16 additions and 19 deletions

View file

@ -29,6 +29,7 @@ options:
I(SetSystemAttributes) are mutually exclusive commands when C(category)
is I(Manager)
type: list
elements: str
baseuri:
required: true
description:
@ -245,7 +246,7 @@ def main():
module = AnsibleModule(
argument_spec=dict(
category=dict(required=True),
command=dict(required=True, type='list'),
command=dict(required=True, type='list', elements='str'),
baseuri=dict(required=True),
username=dict(required=True),
password=dict(required=True, no_log=True),