Why am I getting "ERROR: Ansible could not initialize the preferred locale: unsupported locale setting" in Ansible Automation Controller 2.3?

Solution Unverified - Updated -

Issue

  • When I launch a job template on Ansible Controller in a non-English environment, the job cannot be started with this error message.

    ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
    

Environment

  • Ansible Automation Platform >= 2.3
  • Ansible Core >= 2.14
  • non-English environment (like LANG=ja_JP.UTF8)

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