Does Python have to be installed manually on Ubuntu 14.04

February 26, 2016 3.8k views
Python Ansible Ubuntu

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?

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

Have another answer? Share your knowledge.