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 … Читати далі

Запуск сетевой службы при отсутствии сети

Вот частенько бывают случаи, когда сервер при старте не видит сеть (его включили раньше свитча и т.д.) из-за чего он не запускает такие прекрасные службы как ssh или почта.
В Gentoo данная проблема решается одной стройкой.
Нужно добавить в /etc/rc.conf:

rc_depend_strict="NO"

PS:

Читати далі