DevLearn2020-05-11 01:22:08
DevLearn, 2020-05-11 01:22:08

Ansible throws an error when executing the Ad-Hock command, what's the problem?


Actually the error itself. What is the problem?
I'm running with sudo rights.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Dmitry, 2020-05-11

Add to command -K
from man ansible
-K, --ask-become-pass

mureevms, 2020-05-11

Russian language says "sudo: Password required". Those. either you need to connect under the root, or on each server to give the user the right to elevate privileges without a password. It is customary to do this: create a file /etc/sudoers.d/<user>with content<users> ALL = (ALL) NOPASSWD: ALL

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question