@
@
@anomaliyao2017-06-22 18:27:51
Ansible
@anomaliyao, 2017-06-22 18:27:51

Run ansible playbook as an unprivileged user?

When running a playbook, on the remote host, the user does not have access to /bin/sh and usr/bin/python. How to change how ansible connects to host without '/bin/sh -c '"'"'sudo -H -S -u root /bin/sh -c?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2017-06-22
@opium

well, give him rights or something
, or just execute raw commands

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question