andrewvaughan / ansible-role-prompt

Ansible plugin for messaging and prompting the user during a playbook.
MIT License
10 stars 2 forks source link

Support 'private=yes' like Ansible prompt module #73

Open kladiv opened 6 years ago

kladiv commented 6 years ago

Hello, can you support the private=yes parameter, like Ansible prompt module? It's really useful for password ask

Best, Claudio

andrewvaughan commented 6 years ago

That should be doable. I'll add this to the v0.4.0 release plan.

jordantrizz commented 6 years ago

When do you expect to have a release out to provide this function. Or should I just git pull master and pray?

andrewvaughan commented 6 years ago

No ETA right now. You can use the master branch, but there are portions of it that are going to be removed (specifically, the confirm parameter is going to be reassigned). Feel free to submit a PR if you are able to have this functionality earlier, and I'll push a release with this included earlier.

WascawyWabbit commented 6 years ago

+1 for this. I'm trying to avoid storing passwords, even in vaults, but the stock vars_prompt only works at the top of a playbook & doesn't allow for host vars to be used in the prompt message & I can't have passwords displayed on screen.

jwarkentin commented 6 years ago

This would be very helpful right now. I need to collect a password and only want to do it if a certain task is run. If it's filtered out I don't want to collect the password. vars_prompt isn't great for this use case so I was hoping your plugin would help :(

BarbzYHOOL commented 6 years ago

+1 this is a must have !

andrewvaughan commented 6 years ago

Thanks for your patience all; I expect to have this functionality released within the next week.

BarbzYHOOL commented 6 years ago

Hope you can make it!!

jordantrizz commented 6 years ago

Any update on this?