Closed anhcq151 closed 3 years ago
Proposed methods to remediate this issue:
ansible_python_interpreter
: /usr/bin/python3
variable for all hosts that have python3 installed by default
/usr/bin/python3
to /usr/bin/python
using Ansible’s raw
module
Describe the bug In Ubuntu 16.04 and later, python3 is installed by default and python2 is removed, this leads to missing default python interpreter used by ansible
/usr/bin/python
on such hosts and the play is failed with message:Version Latest (or any) version of
vpnc-deployer-cli
To Reproduce Run the ansible playbook against any linux distro with python3 installed by default, such as: Ubuntu 18.04, Ubuntu 20.04...
Expected behavior The ansible playbook should be able to resolve this scenario