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…
Golang: replace module by own
When you need to do fast fix for some module without to push it use option replace in go.mod For example, i want to check – my application will be work with changes in branch ? and add replace for that repo
Make simple Kubernetes cluster and deploy own Golang application
By using Docker, Docker-registry, Ansible and own servers
dial unix /var/run/docker.sock: connect: permission denied
First, add your user to group docker And restart Docker daemon If this not help, change acl for file access:
Howto detele archive in AWS Glacier Vault
Simple manual for deleting all archives in Vault
Lihgthouse on Debian
Install latest Chrome install NodeJS and NPM Install Lighthouse Run test
WireGuard on Kernel 5.6. Quick start
Install all downloaded deb’s Reboot server/PC by command reboot After startup check the kernel version^ Test Wireguard on server Add repository for ubuntu 18.04 Make some changes to Firewall on server Simple script for generating key pairs and base cofigs for server and client Or download here: Put wg0.server as /etc/wireguard/wg0.conf on Server side and wg0.client on Client side in the same place Startup interface on machines For Android clients you can use config file as QR code
Scripts for streaming desktop
Source – https://gitlab.com/guoyunhe/plasma-cast/blob/master/stream.sh After you can use – https://github.com/balloob/pychromecast/
Zookeeper RPM for Centos 7
prepared rpm package for zookeper
Centos 8 – update linux kernel
rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org dnf install https://www.elrepo.org/elrepo-release-8.0-2.el8.elrepo.noarch.rpm So, install the new kernel. :~# dnf –enablerepo=elrepo-kernel install kernel-ml Setup new Kernel to default grub2-set-default 0 grub2-mkconfig -o /boot/grub2/grub.cfg