-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible throws an exception if inventory file path contains non-ascii characters #17932
Comments
@dmromanov Please try ansible 2.2 rc1 or the devel version and report back whether those still show the issue. There were recent fixes regarding unicode handling and especially the line that produced your issue. |
@robinro
|
I was able to reproduce the issue and now pushed a fix as #17961 Please have a look and let me know whether this fixes your issue. |
@robinro Thank you! Your patch fixed the issue! |
Fixes ansible#17932 (cherry picked from commit 3922328)
Still not fixed. OS - Linux Mint 18.1 "Serena" (Ubuntu 16.04 based)
|
ISSUE TYPE
COMPONENT NAME
core
ANSIBLE VERSION
ansible 2.1.2.0
CONFIGURATION
default
OS / ENVIRONMENT
Ubuntu 16.04
Python 2.7.12
SUMMARY
Ansible fails to load inventory file if path contains non-ascii characters and throws an exception.
Affects
ansible
andansible-playbook
commands.STEPS TO REPRODUCE
Create an ansible project and put in a folder containing non-unicode characters (e.g. cyrillic).
Run ansible.
EXPECTED RESULTS
Command runs without an error.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: