diff --git a/lib/ansible/modules/storage/netapp/netapp_e_host.py b/lib/ansible/modules/storage/netapp/netapp_e_host.py index c61b1f6d16..8775a0aa7b 100644 --- a/lib/ansible/modules/storage/netapp/netapp_e_host.py +++ b/lib/ansible/modules/storage/netapp/netapp_e_host.py @@ -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 )