[ansible-project] Re: unicode errors and inconsistency.

2020-01-08 Thread Andrew Graham
Has anyone else run into something similar? On Tuesday, 31 December 2019 01:50:24 UTC+10:30, Andrew Graham wrote: > > I get errors when passing some passwords into a shell command and I'd love > some pointers on the best way out. The strange thing is, the ansible > script works fine on centos 7

[ansible-project] Re: unicode errors and inconsistency.

2019-12-30 Thread Andrew Graham
I was mistaken, the inconsistency was due to the password var being passed to ansible as extra-vars, this solves the unicode problem and avoids the conversion (default vars get converted to unicode, they cause the problem). I'd like to avoid specifying the password in extra-vars though for sec