I haven’t been using ansible that long, but so far I’m really liking it. I’m running into an issue though that I’m hoping someone will be able to shed some light on.
I have an account, foo on the server I want to run my playbook against. I’m trying to install an rpm. I do not have permissions to become root on said server with account foo. I do however, have the ability to install an rpm if I run the command as “sudo yum install …”
I’ve tried all sorts of things and have had pretty much zero luck:
My playbook is pretty basic for this test run: