sudo user can't execute commands - getting 'This command has to be run under the root user.' error msg #1573
Unanswered
danieleperera
asked this question in
Q&A
Replies: 1 comment
-
i run my playbooks from an account called ansible and have the account on all my servers with ssh key. i put the following in my playbooks and have no permission issues. remote_user: ansible |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I wanted to share some progress I’ve made with Semaphore setup.
I'm using FreeIPA an open source identity management system, I've created a user who is allowed to launch commands with privileged permissions. However, when I try to use the same user with Semahore, I'm getting this error message:
This command has to be run under the root user.
Below the yaml file of the task template:
With the same user, I'm able to log into the host and launch yum updates.
Below the yaml file that I'm using to debug:
I'm running semaphore v2.9.37 via docker compose.
Any support would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions