I currently have a set of VMs I'm testing Ansible on and use SSH keys to automate the authentication process. I'm admittedly a bit old-school and prefer using something like ask-sudo-pass and running the tasks as a sudo user. I just wanted to get an opinion on pros/cons of using Keys versus prompting for the pass?
What is everyone else doing? It seems to make sense to automate via keys, but I seem to fallback to prompting for a password.
-James