this post was submitted on 03 Feb 2024
10 points (100.0% liked)
Arch Linux
7744 readers
1 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.