On Thu, 21 Nov 2019 19:14:24 -0800 (PST)
"
zheng...@sohu.com" <
zheng...@sohu.com> wrote:
> fatal: [10.122.17.201 -> 10.122.12.177]: FAILED! => {"changed": false, "module_stderr": "BECOME-SUCCESS-uwkbocxpjaabqexywadrpcglwjsndvfs\r\n", "modul
> e_stdout": "/bin/sh: /usr/bin/python3.6: No such file or directory\r\n", "msg": "The module failed to execute correctly, you probably need to set the
> interpreter.\nSee stdout/stderr for the exact error", "rc": 127}
There is no "/usr/bin/python3.6" installed at remote "10.122.12.177". Either
install it, or set "ansible_python_interpreter" to the version
already installed. For example in the inventory
10.122.12.177 ansible_python_interpreter=/usr/bin/python2.7
Cheers,
-vlado