ansible-galaxy install throws UnicodeDecodeError exception

Solution In Progress - Updated -


  • When running the command ansible-galaxy install it throws the exception below:
 Traceback (most recent call last):
  File "/bin/ansible-galaxy", line 123, in <module>
    exit_code =
  File "/usr/lib/python2.7/site-packages/ansible/cli/", line 370, in run
  File "/usr/lib/python2.7/site-packages/ansible/cli/", line 880, in execute_install
    installed = role.install()
  File "/usr/lib/python2.7/site-packages/ansible/galaxy/", line 319, in install
    role_tar_file.extract(member, self.path)
  File "/usr/lib64/python2.7/", line 2084, in extract
    self._extract_member(tarinfo, os.path.join(path,
  File "/usr/lib64/python2.7/", line 80, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128)


  • Ansible 2.9.6
  • Red Hat Ansible Tower 3.6.3
  • Python 2.7

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