this post was submitted on 21 Feb 2025
4 points (100.0% liked)
Lemmy Support
4733 readers
4 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Your own user might have root, but the ansibke user probably isn't.
You can enable ansible privilege escalation by adding
become: true
in your yaml file.It is likely safer in the long run to set it for a specific task than globally.