Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix improper handling of machine_type in ovirt inventory (ansible#16251)
Currently the machine_type will not work if the instance type is set in ovirt. In that case, inst.get_instance_type will be an object and will fails while converting to json. This only work if the instance type is not set in ovirt where inst.get_instance_type is a Null value. The current change make sure that correct "instance type" is passed when instance is set in ovirt and Null when it's not set in ovirt.
- Loading branch information