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
32cd66f5
Commit
32cd66f5
authored
Apr 18, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moving extra vars back to the plays
parent
df7458e7
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
26 deletions
+20
-26
playbooks/vagrant-devstack.yml
+10
-0
playbooks/vagrant-fullstack.yml
+8
-0
vagrant/base/devstack/Vagrantfile
+0
-14
vagrant/base/fullstack/Vagrantfile
+0
-10
vagrant/release/devstack/Vagrantfile
+2
-2
No files found.
playbooks/vagrant-devstack.yml
View file @
32cd66f5
...
@@ -2,6 +2,16 @@
...
@@ -2,6 +2,16 @@
hosts
:
all
hosts
:
all
sudo
:
True
sudo
:
True
gather_facts
:
True
gather_facts
:
True
vars
:
migrate_db
:
'
yes'
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"
vars_files
:
vars_files
:
-
"
group_vars/all"
-
"
group_vars/all"
roles
:
roles
:
...
...
playbooks/vagrant-fullstack.yml
View file @
32cd66f5
...
@@ -2,6 +2,14 @@
...
@@ -2,6 +2,14 @@
hosts
:
all
hosts
:
all
sudo
:
True
sudo
:
True
gather_facts
:
True
gather_facts
:
True
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'
vars_files
:
vars_files
:
-
"
group_vars/all"
-
"
group_vars/all"
roles
:
roles
:
...
...
vagrant/base/devstack/Vagrantfile
View file @
32cd66f5
...
@@ -54,20 +54,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
...
@@ -54,20 +54,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config
.
vm
.
provision
:ansible
do
|
ansible
|
config
.
vm
.
provision
:ansible
do
|
ansible
|
ansible
.
playbook
=
"../../../playbooks/vagrant-devstack.yml"
ansible
.
playbook
=
"../../../playbooks/vagrant-devstack.yml"
ansible
.
verbose
=
"vvvv"
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
.
extra_vars
=
{
migrate_db:
'yes'
,
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"
,
}
end
end
end
end
vagrant/base/fullstack/Vagrantfile
View file @
32cd66f5
...
@@ -31,16 +31,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
...
@@ -31,16 +31,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# set extra-vars here instead of in the vagrant play so that
# set extra-vars here instead of in the vagrant play so that
# they are written out to /edx/etc/server-vars.yml which can
# they are written out to /edx/etc/server-vars.yml which can
# be used later when running ansible locally
# be used later when running ansible locally
ansible
.
extra_vars
=
{
ansible_ssh_user:
'vagrant'
,
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'
,
}
ansible
.
verbose
=
"vvvv"
ansible
.
verbose
=
"vvvv"
end
end
end
end
vagrant/release/devstack/Vagrantfile
View file @
32cd66f5
...
@@ -36,8 +36,8 @@ end
...
@@ -36,8 +36,8 @@ end
Vagrant
.
configure
(
VAGRANTFILE_API_VERSION
)
do
|
config
|
Vagrant
.
configure
(
VAGRANTFILE_API_VERSION
)
do
|
config
|
# Creates an edX devstack VM from an official release
# Creates an edX devstack VM from an official release
config
.
vm
.
box
=
"
himbash
a-devstack"
config
.
vm
.
box
=
"
injer
a-devstack"
config
.
vm
.
box_url
=
"http://files.edx.org/vagrant-images/20140
325-himbash
a-devstack.box"
config
.
vm
.
box_url
=
"http://files.edx.org/vagrant-images/20140
418-injer
a-devstack.box"
config
.
vm
.
network
:private_network
,
ip:
"192.168.33.10"
config
.
vm
.
network
:private_network
,
ip:
"192.168.33.10"
config
.
vm
.
network
:forwarded_port
,
guest:
8000
,
host:
8000
config
.
vm
.
network
:forwarded_port
,
guest:
8000
,
host:
8000
...
...
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