mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-20 15:51:05 +00:00
Fixed bug to set hostTypeIndex correctly at the time of netapp_e_host create. (#39148)
Issue link: https://github.com/ansible/ansible/issues/39143 Correct post_body made by replacing host_type with hostType while creating host.
This commit is contained in:
@@ -288,7 +288,7 @@ class Host(object):
|
||||
def create_host(self):
|
||||
post_body = dict(
|
||||
name=self.name,
|
||||
host_type=dict(index=self.host_type_index),
|
||||
hostType=dict(index=self.host_type_index),
|
||||
groupId=self.group_id,
|
||||
ports=self.ports
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user