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
f37d1c3b
Commit
f37d1c3b
authored
Sep 15, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add release option to Vagrant playbooks
Activated using an environment variable
parent
cb4d85a0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
4 deletions
+21
-4
playbooks/vagrant-devstack.yml
+6
-1
playbooks/vagrant-fullstack.yml
+6
-1
vagrant/base/devstack/Vagrantfile
+5
-1
vagrant/base/fullstack/Vagrantfile
+4
-1
No files found.
playbooks/vagrant-devstack.yml
View file @
f37d1c3b
...
...
@@ -7,12 +7,17 @@
openid_workaround
:
true
devstack
:
true
disable_edx_services
:
true
edx_platform_version
:
'
master'
mongo_enable_journal
:
false
EDXAPP_NO_PREREQ_INSTALL
:
0
COMMON_MOTD_TEMPLATE
:
'
devstack_motd.tail.j2'
COMMON_SSH_PASSWORD_AUTH
:
"
yes"
ENABLE_LEGACY_ORA
:
!!null
# used for releases
edx_platform_version
:
'
{{
OPENEDX_RELEASE
|
default("master")
}}'
ora2_version
:
'
{{
OPENEDX_RELEASE
|
default("master")
}}'
certs_version
:
'
{{
OPENEDX_RELEASE
|
default("master")
}}'
forum_version
:
'
{{
OPENEDX_RELEASE
|
default("master")
}}'
xqueue_version
:
'
{{
OPENEDX_RELEASE
|
default("master")
}}'
vars_files
:
-
"
group_vars/all"
roles
:
...
...
playbooks/vagrant-fullstack.yml
View file @
f37d1c3b
...
...
@@ -5,11 +5,16 @@
vars
:
migrate_db
:
'
yes'
openid_workaround
:
true
edx_platform_version
:
'
master'
EDXAPP_LMS_NGINX_PORT
:
'
80'
EDX_ANSIBLE_DUMP_VARS
:
true
CERTS_DOWNLOAD_URL
:
'
http://192.168.33.10:18090'
CERTS_VERIFY_URL
:
'
http://192.168.33.10:18090'
# used for releases
edx_platform_version
:
'
{{
OPENEDX_RELEASE
|
default("master")
}}'
ora2_version
:
'
{{
OPENEDX_RELEASE
|
default("master")
}}'
certs_version
:
'
{{
OPENEDX_RELEASE
|
default("master")
}}'
forum_version
:
'
{{
OPENEDX_RELEASE
|
default("master")
}}'
xqueue_version
:
'
{{
OPENEDX_RELEASE
|
default("master")
}}'
vars_files
:
-
"
group_vars/all"
roles
:
...
...
vagrant/base/devstack/Vagrantfile
View file @
f37d1c3b
...
...
@@ -102,8 +102,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
ansible
.
playbook
=
"../../../playbooks/vagrant-devstack.yml"
ansible
.
verbose
=
"vvvv"
ansible
.
extra_vars
=
{}
if
ENV
[
'ENABLE_LEGACY_ORA'
]
ansible
.
extra_vars
=
{
ENABLE_LEGACY_ORA
:
true
}
ansible
.
extra_vars
[
'ENABLE_LEGACY_ORA'
]
=
true
end
if
ENV
[
'OPENEDX_RELEASE'
]
ansible
.
extra_vars
[
'OPENEDX_RELEASE'
]
=
ENV
[
'OPENEDX_RELEASE'
]
end
end
end
vagrant/base/fullstack/Vagrantfile
View file @
f37d1c3b
...
...
@@ -39,9 +39,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config
.
vm
.
provision
:ansible
do
|
ansible
|
# point Vagrant at the location of your playbook you want to run
ansible
.
playbook
=
"../../../playbooks/vagrant-fullstack.yml"
ansible
.
verbose
=
"vvvv"
# set extra-vars here instead of in the vagrant play so that
# they are written out to /edx/etc/server-vars.yml which can
# be used later when running ansible locally
ansible
.
verbose
=
"vvvv"
if
ENV
[
'OPENEDX_RELEASE'
]
ansible
.
extra_vars
=
{
OPENEDX_RELEASE
:
ENV
[
'OPENEDX_RELEASE'
]}
end
end
end
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