minus-squareTheRandomNinja@beehaw.orgtoArch Linux@lemmy.ml•AUR with Ansiblelinkfedilinkarrow-up0·7 months agoIf your non-root user has sudo access, then it should be as easy as making your Ansible playbook log in as the non-root user by default, and then use Ansible’s become for anything that needs to run with sudo. linkfedilink
If your non-root user has sudo access, then it should be as easy as making your Ansible playbook log in as the non-root user by default, and then use Ansible’s
become
for anything that needs to run with sudo.