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
fec3e778
Commit
fec3e778
authored
Jul 31, 2017
by
Joseph Mulloy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove 12.04/precise from ansible roles OPS-1849
parent
c7065634
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
39 deletions
+10
-39
playbooks/edx-east/edx_provision.yml
+2
-2
playbooks/edx-east/retire_host.yml
+1
-1
playbooks/roles/common_vars/defaults/main.yml
+0
-1
playbooks/roles/edxapp/tasks/main.yml
+0
-10
playbooks/roles/insights/defaults/main.yml
+0
-2
playbooks/roles/mongo_3_0/defaults/main.yml
+1
-1
playbooks/roles/mysql/tasks/mysql.yml
+0
-16
playbooks/roles/supervisor/tasks/main.yml
+3
-3
playbooks/roles/tools_jenkins/tasks/main.yml
+3
-3
No files found.
playbooks/edx-east/edx_provision.yml
View file @
fec3e778
...
...
@@ -6,8 +6,8 @@
keypair
:
continuous-integration
instance_type
:
t2.medium
security_group
:
sandbox-vpc
# ubuntu 1
2.04
ami
:
ami-
f478849c
# ubuntu 1
6.04 - 20170721
ami
:
ami-
cd0f5cb6
region
:
us-east-1
zone
:
us-east-1c
instance_tags
:
...
...
playbooks/edx-east/retire_host.yml
View file @
fec3e778
...
...
@@ -15,7 +15,7 @@
pre_tasks
:
-
set_fact
:
STOP_ALL_EDX_SERVICES_EXTRA_ARGS
:
"
--no-wait"
when
:
ansible_distribution_release == '
precise' or ansible_distribution_release == '
trusty'
when
:
ansible_distribution_release == 'trusty'
roles
:
-
stop_all_edx_services
...
...
playbooks/roles/common_vars/defaults/main.yml
View file @
fec3e778
...
...
@@ -157,7 +157,6 @@ common_debian_variants:
# We only have to install old Python for these releases:
old_python_ppa_releases
:
-
precise
-
trusty
common_redhat_variants
:
...
...
playbooks/roles/edxapp/tasks/main.yml
View file @
fec3e778
...
...
@@ -109,16 +109,6 @@
-
install
-
install:base
# adding chris-lea nodejs repo
# TODO: 16.04
-
name
:
add ppas for current versions of nodejs
apt_repository
:
repo
:
"
{{
edxapp_chrislea_ppa
}}"
when
:
ansible_distribution_release == 'precise'
tags
:
-
install
-
install:base
-
name
:
install system packages on which LMS and CMS rely
apt
:
name
:
"
{{
item
}}"
...
...
playbooks/roles/insights/defaults/main.yml
View file @
fec3e778
...
...
@@ -218,7 +218,5 @@ insights_debian_pkgs:
-
gettext
insights_release_specific_debian_pkgs
:
precise
:
-
openjdk-7-jdk
xenial
:
-
openjdk-8-jdk
playbooks/roles/mongo_3_0/defaults/main.yml
View file @
fec3e778
...
...
@@ -14,7 +14,7 @@ mongo_log_dir: "{{ COMMON_LOG_DIR }}/mongo"
mongo_journal_dir
:
"
{{
COMMON_DATA_DIR
}}/mongo/mongodb/journal"
mongo_user
:
mongodb
MONGODB_REPO
:
"
deb
http://repo.mongodb.org/apt/ubuntu
precise
/mongodb-org/3.0
multiverse"
MONGODB_REPO
:
"
deb
http://repo.mongodb.org/apt/ubuntu
trusty
/mongodb-org/3.0
multiverse"
MONGODB_APT_KEY
:
"
7F0CEB10"
MONGODB_APT_KEYSERVER
:
"
keyserver.ubuntu.com"
...
...
playbooks/roles/mysql/tasks/mysql.yml
View file @
fec3e778
...
...
@@ -33,22 +33,6 @@
# Thought that instead of performing all those steps and get the repo, why not directly use this repo
# `deb http://repo.mysql.com/apt/ubuntu/ precise mysql-5.6`, I just picked this line and directly used it and it worked for us.
-
name
:
Add MySQL community apt key
apt_key
:
id
:
8C718D3B5072E1F5
keyserver
:
"
{{
COMMON_EDX_PPA_KEY_SERVER
}}"
state
:
present
when
:
ansible_distribution_release == 'precise'
# Despite ondrej's ppa having 12.04 support, we would need to do shenanigans and uninstalling
# to switch back cleanly without publishing a new base devstack box. Easier to just clean this
# up with Ficus.
-
name
:
Install MySQL from their community PPA
apt_repository
:
repo
:
"
deb
http://repo.mysql.com/apt/ubuntu/
precise
mysql-5.6"
update_cache
:
yes
when
:
ansible_distribution_release == 'precise'
-
name
:
Install mysql-5.6 and dependencies
apt
:
name
:
"
{{
item
}}"
...
...
playbooks/roles/supervisor/tasks/main.yml
View file @
fec3e778
...
...
@@ -115,14 +115,14 @@
-
install
-
install:base
# 1
2.04, 14.04, etc.
# 1
4.04
-
name
:
Create supervisor upstart job
template
:
src
:
"
etc/init/supervisor-upstart.conf.j2"
dest
:
"
/etc/init/{{
supervisor_service
}}.conf"
owner
:
root
group
:
root
when
:
ansible_distribution_release == '
precise' or ansible_distribution_release == '
trusty'
when
:
ansible_distribution_release == 'trusty'
tags
:
-
install
-
install:base
...
...
@@ -140,7 +140,7 @@
group
:
root
when
:
>
supervisor_service == "supervisor" and disable_edx_services and not devstack
and (ansible_distribution_release == '
precise' or ansible_distribution_release == '
trusty')
and (ansible_distribution_release == 'trusty')
tags
:
-
to-remove
-
aws-specfic
...
...
playbooks/roles/tools_jenkins/tasks/main.yml
View file @
fec3e778
---
# The deadsnakes PPA is required to install python3.5 on
Precise and
Trusty.
# The deadsnakes PPA is required to install python3.5 on Trusty.
# Xenial comes with python3.5 installed.
-
name
:
add deadsnakes repository
apt_repository
:
repo
:
"
ppa:fkrull/deadsnakes"
when
:
ansible_distribution_release == '
precise' or ansible_distribution_release == '
trusty'
when
:
ansible_distribution_release == 'trusty'
tags
:
-
install
-
install:system-requirements
...
...
@@ -15,7 +15,7 @@
with_items
:
-
python3.5
-
python3.5-dev
when
:
ansible_distribution_release == '
precise' or ansible_distribution_release == '
trusty'
when
:
ansible_distribution_release == 'trusty'
tags
:
-
install
-
install:system-requirements
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