When I run ansible against a host machine that has some commands I need to run as root, I can't run these with "become" because it runs the commands as root instead of just running them with sudo.
What I've been doing is just using
command: sudo ... and then suppressing warnings with
args: warn: no
is there a better, more standardized, way to run a linux commandline with sudo sans password?
sudounder the hood when you execute task with
"msg": "Missing sudo password"for a fail reason