Open alberttwong opened 8 years ago
Didn't work if I put the password in "" or ''
@detiber this seems like either a python issue or a bash issue
@Albert If this is rhsm-pass, try using no quotes whatsoever.
On Wed, Apr 27, 2016 at 2:50 PM, Erik M Jacobs notifications@github.com wrote:
@detiber https://github.com/detiber this seems like either a python issue or a bash issue
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/2015-Middleware-Keynote/demo-ansible/issues/141#issuecomment-215191117
@thoraxe indeed, the value is serialized between python strings, yaml strings and then fed into bash, so some type of a quoting issue is at play. It's just a matter of tracking it down.
I'll leave this issue open for @alberttwong but there's nothing actually "wrong" in the scripts. It's just a matter of escaping correctly, unfortunately.
You have three layers of interpolation:
1) your command entered into bash 2) how python munges it 3) how Ansible then munges that
I had to change my password to not include the "!" character.