As you don't quote what you are talking about I can only assume the
title is what you are after.
No, ansible needs to run something like "sudo -H -S -n -u root
/bin/bash" to work. You might set that to NOPASSWD, but it just means
you allow the ansible user everything.
Johannes