+++ This bug was initially created as a clone of Bug #1768969 +++ cloned to Ansible component for handling the ovirt_host ansible module part --- Additional comment from Simone Tiraboschi on 2019-11-06 08:12:25 UTC --- Please notice that for historical reason the Target Portal Group Tag (TGPT) attribute is called portal on REST API and the python SDK: http://ovirt.github.io/ovirt-engine-sdk/master/types.m.html#ovirtsdk4.types.IscsiDetails Then notice that ovirt_host ansible module completely lacks the portal parameter initializing IscsiDetails struct: https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/ovirt/ovirt_host.py#L596 So we need to fix that one first.
Just be aware that in Ansible term adding parameters is an RFE, which mean this cannot be fixed earlier than in 2.10. So once fixed in master I suggest to ship hosted-engine-setup role with this updated module.
(In reply to Martin Perina from comment #1) > Just be aware that in Ansible term adding parameters is an RFE, which mean > this cannot be fixed earlier than in 2.10. So once fixed in master I suggest > to ship hosted-engine-setup role with this updated module. assuming this is in modified because it has been included in ansible 2.10. Can you send PR to hosted-engine-role for shipping the updated module?
The PR was moved to collection same as hosted-engine role so now you can use it inside the role.