So I found a ‘private’ flag in the on_vars_prompt handler that switches between raw_input() and getpass.getpass(), I’d like to be able to toggle that in my playbooks. Maybe something like:
- vars_prompt:
name: password - prompt: “Please enter your SVN password”
- private: true
release_version: “Please enter the revision to release:”
I’m not in love with mixing hashes and simple key/value pairs, so maybe this would be better:
- vars_prompt:
password: “private:Please enter your SVN password”
release_version: “Please enter the revision to release:”
@mgw, Michael mentioned in IRC that there was possibly some encryption logic in vars_prompt so that it could accept a parameter that was a hash as well?