mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
ovirt_vm: Fix issue in SSO option (#47312)
Currently the module will disable the SSO if we didn't pass any value for SSO option. The PR fixes the same.
This commit is contained in:
@@ -1042,7 +1042,7 @@ class VmsModule(BaseModule):
|
||||
otypes.Sso(
|
||||
methods=[otypes.Method(id=otypes.SsoMethod.GUEST_AGENT)] if self.param('sso') else []
|
||||
)
|
||||
),
|
||||
) if self.param('sso') is not None else None,
|
||||
quota=otypes.Quota(id=self._module.params.get('quota_id')) if self.param('quota_id') is not None else None,
|
||||
high_availability=otypes.HighAvailability(
|
||||
enabled=self.param('high_availability'),
|
||||
|
||||
Reference in New Issue
Block a user