if i have one server in my inventory that requires sudo password, but all the others don’t… it would save me from having to remember to selectively use --ask-sudo-pass at the command-line…
Not that I am aware of.
However, in 1.4 (devel) ansible_sudo_pass was added as an inventory hostvar. You may not be wanting this, but on another note, something else that changed with this addition, is that if a password is not required and a sudo password is provided, everything would still work as expected.
Previously if you provided a password to a host that didn’t require it, the task would fail.