diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_cluster.py b/lib/ansible/modules/cloud/ovirt/ovirt_cluster.py index e282c0306aa..9b61636b4a6 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_cluster.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_cluster.py @@ -485,7 +485,9 @@ class ClustersModule(BaseModule): name=self.param('network'), ) if self.param('network') else None, cpu=otypes.Cpu( - architecture=self.param('cpu_arch'), + architecture=otypes.Architecture( + self.param('cpu_arch') + ) if self.param('cpu_arch') else None, type=self.param('cpu_type'), ) if ( self.param('cpu_arch') or self.param('cpu_type')