-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
Pause Prompt keeps input hidden in v2 #14160
Comments
+1 |
@bcoca any ETA on when this will get fixed? Saw it assigned to the stable 2.0 milestone but I don't see this resolved in the 2.1.0.0 release I'm using. |
+1 |
fix is not easy as we had to rewrite all the terminal input code, the old one used raw_input which allows echo, the new one sets the tty to 'raw' mode which does not. |
@mwhite14 Greetings! Thanks for taking the time to open this issue. In order for the community to handle your issue effectively, we need a bit more information. Here are the items we could not find in your description:
Please set the description of this issue with this template: |
Any update on this issue? Without echoing the input the prompting in pause module looks unusable to us. |
@soumyadipDe I'm digging into this. Not a simple fix but doing my best to find a solution. |
Please test with #32083 to see if it works for you. |
* Enable ECHO in prompt module Fixes #14160 * Set flags to make it possible to edit echoed input as well as hide control charcters Only do this if a time limit is not set. * Consolidate settings
* Enable ECHO in prompt module Fixes #14160 * Add option for controlling echo behavior with pause module * Improve option logic Allow all options to be used in varying combinations, rather than being mutually exclusive. Always capture output and return it, even when a time limit is set. * Add version_added to docs * Improve behavior of echo output Set a few more flags to allow interactive deletion and hide control characters. Do not capture or echo input when a time is set. Tried to get this working nicely, but ran into too many issues/oddities to keep it. Maybe in the future if there is demand for capturing/echoing input when a time is set I'll take another pass at it.
In tasks I prompt for an AWS AMI and get the user input using register. Before ansible v2, I was able to see what I was typing in at the prompt. After v2 I am not longer able to see what I am typing.
It seems it now defaults to private, but it there is no way to disable it.
The text was updated successfully, but these errors were encountered: