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
OpenEdx
configuration
Commits
8511b4f9
Commit
8511b4f9
authored
Dec 16, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use edx ppa for python 2.7.10
parent
a0633784
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
playbooks/roles/common/tasks/main.yml
+10
-3
playbooks/roles/common_vars/defaults/main.yml
+4
-1
No files found.
playbooks/roles/common/tasks/main.yml
View file @
8511b4f9
...
@@ -15,6 +15,12 @@
...
@@ -15,6 +15,12 @@
path
:
/home/vagrant
path
:
/home/vagrant
register
:
vagrant_home_dir
register
:
vagrant_home_dir
-
name
:
add edx ppa apt key
apt_key
:
id
:
"
{{
COMMON_EDX_PPA_KEY_ID
}}"
keyserver
:
"
{{
COMMON_EDX_PPA_KEY_SERVER
}}"
state
:
"
present"
# Ensure that we get a current version of Git
# Ensure that we get a current version of Git
# GitHub requires version 1.7.10 or later
# GitHub requires version 1.7.10 or later
# https://help.github.com/articles/https-cloning-errors
# https://help.github.com/articles/https-cloning-errors
...
@@ -22,9 +28,10 @@
...
@@ -22,9 +28,10 @@
apt_repository
:
apt_repository
:
repo
:
"
{{
common_git_ppa
}}"
repo
:
"
{{
common_git_ppa
}}"
# Ensure that we get the latest version of python 2.7
# We use this PPA to get the latest version of python 2.7
-
name
:
Add python 2.7 apt repository
-
name
:
Add edx apt repository
apt_repository
:
repo="{{ common_python_ppa }}"
apt_repository
:
repo
:
"
{{
COMMON_EDX_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
...
...
playbooks/roles/common_vars/defaults/main.yml
View file @
8511b4f9
...
@@ -43,6 +43,10 @@ COMMON_PYPI_MIRROR_URL: 'https://pypi.python.org/simple'
...
@@ -43,6 +43,10 @@ COMMON_PYPI_MIRROR_URL: 'https://pypi.python.org/simple'
COMMON_NPM_MIRROR_URL
:
'
http://registry.npmjs.org'
COMMON_NPM_MIRROR_URL
:
'
http://registry.npmjs.org'
COMMON_UBUNTU_APT_KEYSERVER
:
"
http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search="
COMMON_UBUNTU_APT_KEYSERVER
:
"
http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search="
COMMON_EDX_PPA
:
"
deb
http://ppa.edx.org
{{
ansible_distribution_release
}}
main"
COMMON_EDX_PPA_KEY_SERVER
:
"
http://pgp.mit.edu"
COMMON_EDX_PPA_KEY_ID
:
"
69464050"
#The git checkout url in most roles is constructed from these values
#The git checkout url in most roles is constructed from these values
#e.g. https://{{COMMON_GIT_MIRROR}}/{{COMMON_GIT_PATH}}/repo.git
#e.g. https://{{COMMON_GIT_MIRROR}}/{{COMMON_GIT_PATH}}/repo.git
COMMON_GIT_PROTOCOL
:
'
https'
# https|ssh
COMMON_GIT_PROTOCOL
:
'
https'
# https|ssh
...
@@ -108,7 +112,6 @@ common_web_group: www-data
...
@@ -108,7 +112,6 @@ 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
...
...
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