Commit 443f13e4 by Feanil Patel

Merge pull request #2212 from edx/feanil/upgrade_python

OPS-631: Upgrade to the latest version of python
parents 42b670e1 a02d9564
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
# Common variables are defined in the common_vars role on which this # Common variables are defined in the common_vars role on which this
# role depends. This is to allow sharing vars without creating # role depends. This is to allow sharing vars without creating
# side-effects. Any vars requred by this role should be added to # side-effects. Any vars requred by this role should be added to
# common_vars/defaults/main.yml # common_vars/defaults/main.yml
\ No newline at end of file
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
apt_repository: apt_repository:
repo: "{{ common_git_ppa }}" repo: "{{ common_git_ppa }}"
# Ensure that we get the latest version of python 2.7
- name: Add python 2.7 apt repository
apt_repository: repo="{{ common_python_ppa }}"
- name: Install role-independent useful system packages - name: Install role-independent useful system packages
# do this before log dir setup; rsyslog package guarantees syslog user present # do this before log dir setup; rsyslog package guarantees syslog user present
apt: apt:
...@@ -97,4 +101,3 @@ ...@@ -97,4 +101,3 @@
notify: notify:
- restart ssh - restart ssh
- restart rsyslogd - restart rsyslogd
\ No newline at end of file
...@@ -98,7 +98,7 @@ common_debian_pkgs: ...@@ -98,7 +98,7 @@ common_debian_pkgs:
- tree - tree
- git - git
- unzip - unzip
- python2.7 - "python2.7=2.7.10-0+precise1"
- python-pip - python-pip
- python2.7-dev - python2.7-dev
# Not installed by default on vagrant ubuntu # Not installed by default on vagrant ubuntu
...@@ -116,6 +116,7 @@ common_web_group: www-data ...@@ -116,6 +116,7 @@ common_web_group: www-data
common_log_user: syslog common_log_user: syslog
common_git_ppa: "ppa:git-core/ppa" common_git_ppa: "ppa:git-core/ppa"
common_python_ppa: "ppa:fkrull/deadsnakes-python2.7"
# Skip supervisor tasks # Skip supervisor tasks
# When set to true this flag will allow you to install everything but keep # When set to true this flag will allow you to install everything but keep
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment