Skip to content

Commit

Permalink
update the documentation and validate input params (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
madhansansel authored Dec 16, 2024
2 parents d5782ba + 89318a4 commit 99c6226
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/modules/template_workflow_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -844,8 +844,7 @@
device_details:
description: Details specific to devices where the template will be deployed, including lists of device IPs, hostnames,
serial numbers, or MAC addresses.
type: list
elements: dict
type: dict
suboptions:
device_ips:
description: A list of IP addresses of the devices where the template will be deployed.
Expand Down Expand Up @@ -1270,8 +1269,7 @@ def validate_input(self):
'param_value': {'type': 'str'},
},
'device_details': {
'type': 'list',
'elements': 'dict',
'type': 'dict',
'device_ips': {'type': 'list', 'elements': 'str'},
'device_hostnames': {'type': 'list', 'elements': 'str'},
'serial_numbers': {'type': 'list', 'elements': 'str'},
Expand Down

0 comments on commit 99c6226

Please sign in to comment.