ubuntu 18.04 comes with python3 as default and ansible look for python2 and fails. To fix that we have to install python2 on the server or create an alias of python to python3
How does it address the problem?
This change will tell ansible to look for python3 instead of python2 by default
Are there any side effects?
It won't work on old OS which have python2 as default, to make that work we have to remove this setting
ubuntu 18.04 comes with python3 as default and ansible look for python2 and fails. To fix that we have to install python2 on the server or create an alias of python to python3
This change will tell ansible to look for python3 instead of python2 by default
It won't work on old OS which have python2 as default, to make that work we have to remove this setting