Просмотрено
Метка: nmcli

Ansible. nmcli module. Failed to import the required Python library

Ansible. nmcli module. Failed to import the required Python library

In new version of Ubuntu/Centos need to use new name of imported module. When using old nmcli.py i had this error: Failed to import the required Python library (NetworkManager glib API) on node’s Python /usr/bin/python3. Please read module documentation and install 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”} when running playbook: from https://docs.ansible.com/ansible/2.5/modules/nmcli_module.html or this error when try to use NMClient from python…

Читать далее Читать далее