Why Do I Get "UnicodeEncodeError: 'ascii' codec can't encode character" When Creating a Virtual Machine in VMware?

Solution Verified - Updated -

Issue

When creating a virtual machine in VMware (e.g. vmware_guest), you may run into the following error:

UnicodeEncodeError: 'ascii' codec can't encode character

Environment

  • Ansible Engine

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content