I have recently provisioned a new Ubuntu 14.04 server. I am trying to set this up as a hands off ansible managed server. However, I am having to install python after provisioning. Requiring me to log in manually to each server and install python every time.
I thought python was installed by default on Ubuntu, did this change?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

2 answers

The default Ubuntu 14.04 server image provided includes python2.7 and python3.4 installed by default. You should see both listed in /usr/bin

/usr/bin/python links to Python 2.7 by default.

I am provisioning the droplet with ansible and dopy, looks like I must be using the wrong id. It says Ubuntu 15.10 x64 not 14.04. That might be the issue, I do not know if 15.10 has python installed by default. I see python3 and 3.4

Submit an Answer