Re: [ansible-project] UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 84: ordinal not in range(128)

2014-05-14 Thread Michael DeHaan
No thank you, if it's already fixed we are good to go. (For such reasons it's usually very useful to always indicate the ansible version when discussing a potential bug...) Thanks! On Wed, May 14, 2014 at 4:33 AM, Joel Sdc wrote: > Hi James, > > Before opening an issue, I have tried after upd

Re: [ansible-project] UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 84: ordinal not in range(128)

2014-05-14 Thread Joel Sdc
Hi James, Before opening an issue, I have tried after updating to latest ansible version available and the problem is solved. Should I still open a specific issue for the version I was using prior to upgrade? Thank you for your help. Best regards, Joel. On Tuesday, May 13, 2014 2:33:27 PM

Re: [ansible-project] UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 84: ordinal not in range(128)

2014-05-13 Thread James Cammarata
Go ahead and open an issue on github for this, and we'll dig into it deeper. If setting the module_lang doesn't fix things, then the issue may not be on the client side. On Tue, May 13, 2014 at 6:41 AM, Joel Sdc wrote: > Hi James, > > I have tried: > > a) setting "module_lang = en_US.UTF-8" in

Re: [ansible-project] UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 84: ordinal not in range(128)

2014-05-13 Thread Joel Sdc
Hi James, I have tried: a) setting "module_lang = en_US.UTF-8" in ansible.cfg b) editing /usr/share/pyshared/ansible/constants.py and changing: DEFAULT_MODULE_LANG = get_config(p, DEFAULTS, 'module_lang', 'ANSIBLE_MODULE_LANG', 'C') to DEFAULT_MODULE_LANG = get_config(

Re: [ansible-project] UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 84: ordinal not in range(128)

2014-05-12 Thread James Cammarata
Can you try setting "module_lang = en_US.UTF-8" in your ansible.cfg to see if that corrects the issue? On Mon, May 12, 2014 at 2:30 PM, Joel Sdc wrote: > Hi, > > I'm having a little problem. When I run a simple playbook, on some servers > I get a UnicodeEncodeError and the playbook is not execu

[ansible-project] UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 84: ordinal not in range(128)

2014-05-12 Thread Joel Sdc
Hi, I'm having a little problem. When I run a simple playbook, on some servers I get a UnicodeEncodeError and the playbook is not executed. I have the role "users_admin", it creates 3 groups, makes sure that 4 users exist and have a specific password and set a root password if it has changed.