Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
443f13e4
Commit
443f13e4
authored
Nov 19, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2212 from edx/feanil/upgrade_python
OPS-631: Upgrade to the latest version of python
parents
42b670e1
a02d9564
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
playbooks/roles/common/defaults/main.yml
+1
-2
playbooks/roles/common/tasks/main.yml
+4
-2
playbooks/roles/common_vars/defaults/main.yml
+2
-1
No files found.
playbooks/roles/common/defaults/main.yml
View file @
443f13e4
...
...
@@ -3,4 +3,4 @@
# Common variables are defined in the common_vars role on which this
# role depends. This is to allow sharing vars without creating
# side-effects. Any vars requred by this role should be added to
# common_vars/defaults/main.yml
\ No newline at end of file
# common_vars/defaults/main.yml
playbooks/roles/common/tasks/main.yml
View file @
443f13e4
...
...
@@ -22,6 +22,10 @@
apt_repository
:
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
# do this before log dir setup; rsyslog package guarantees syslog user present
apt
:
...
...
@@ -97,4 +101,3 @@
notify
:
-
restart ssh
-
restart rsyslogd
\ No newline at end of file
playbooks/roles/common_vars/defaults/main.yml
View file @
443f13e4
...
...
@@ -98,7 +98,7 @@ common_debian_pkgs:
-
tree
-
git
-
unzip
-
python2.7
-
"
python2.7=2.7.10-0+precise1"
-
python-pip
-
python2.7-dev
# Not installed by default on vagrant ubuntu
...
...
@@ -116,6 +116,7 @@ common_web_group: www-data
common_log_user
:
syslog
common_git_ppa
:
"
ppa:git-core/ppa"
common_python_ppa
:
"
ppa:fkrull/deadsnakes-python2.7"
# Skip supervisor tasks
# When set to true this flag will allow you to install everything but keep
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment