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.
pull/39148/merge
shanumondal 6 years ago committed by ansibot
parent 8faf9837d0
commit b740d68eaa

@ -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
)

Loading…
Cancel
Save