Ansible – Install Python3-apt Package: A Troubleshooting Guide for Ubuntu 18.04
Introduction Are you encountering an error while using Ansible to install Apache2 on Ubuntu 18.04? Don’t worry, you’re not alone. Many users face a similar issue where the Ansible command fails with a message indicating the absence of python modules: apt, apt_pkg. The solution lies in installing the python3-apt package on the target machine. In…