Код: Выделить всё
- name: GetProcessList with sysnr
community.sap_libs.sap_control_exec:
hostname: all
sysnr: "00"
function: GetProcessList
Код: Выделить всё
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'suds'
fatal: [hostname]: FAILED! => changed=false
msg: Failed to import the required Python library (suds) on hostname's Python /usr/bin/python3. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter
Код: Выделить всё
The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_community.sap_libs.sap_control_exec_payload_da6n801n/ansible_community.sap_libs.sap_control_exec_payload.zip/ansible_collections/community/sap_libs/plugins/modules/sap_control_exec.py", line 264, in
ModuleNotFoundError: No module named 'suds'
fatal: [hostname]: FAILED! => changed=false
invocation:
module_args:
force: false
function: GetProcessList
hostname: hostname
parameter: null
password: null
port: null
sysnr: '"00"'
username: null
msg: Failed to import the required Python library (suds) on hostname's Python /usr/bin/python3. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter
Любая помощь будет принята с благодарностью. Возможно, я упускаю что-то очевидное.
Спасибо!
Подробнее здесь: https://stackoverflow.com/questions/786 ... -usr-bin-p