This came up when using this repo as Template for a EC-JRC instance at https://jrc.map5.nl. The VM uses Ubuntu 21.04. The Python defaults did not work. Calling python was using Python 2, which is still the default. To force Python3 we adapted the Inventory config file, here prod.yml to read:
This came up when using this repo as Template for a EC-JRC instance at https://jrc.map5.nl. The VM uses Ubuntu 21.04. The Python defaults did not work. Calling
python
was using Python 2, which is still the default. To force Python3 we adapted the Inventory config file, here prod.yml to read:Line added is
ansible_python_interpreter: /usr/bin/python3
.