diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_host_network.py b/lib/ansible/modules/cloud/ovirt/ovirt_host_network.py index 58e146e7cd..49681fcba4 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_host_network.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_host_network.py @@ -222,7 +222,8 @@ def get_bond_options(mode, usr_opts): ) opts_dict = DEFAULT_MODE_OPTS.get(mode, {}) - opts_dict.update(**usr_opts) + if usr_opts is not None: + opts_dict.update(**usr_opts) options.extend( [otypes.Option(name=opt, value=value)