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
f3ae0472
Commit
f3ae0472
authored
Jul 19, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a full stack vagrant file and playbook.
parent
791f7d79
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
0 deletions
+44
-0
playbooks/vagrant-fullstack.yml
+19
-0
vagrant/fullstack/Vagrantfile
+25
-0
No files found.
playbooks/vagrant-fullstack.yml
0 → 100644
View file @
f3ae0472
-
name
:
Configure instance(s)
hosts
:
vagrant
sudo
:
True
gather_facts
:
True
vars
:
migrate_db
:
"
yes"
openid_workaround
:
True
vars_files
:
-
"
group_vars/all"
-
"
{{
secure_dir
}}/vars/edxapp_ref_users.yml"
roles
:
-
common
-
nginx
-
edxlocal
-
edxapp
-
rabbitmq
-
xqueue
-
xserver
-
{
role
:
'
edxapp'
,
celery_worker
:
True
}
vagrant/fullstack/Vagrantfile
0 → 100644
View file @
f3ae0472
MEMORY
=
512
CPU_COUNT
=
2
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"precise64"
config
.
vm
.
box_url
=
"http://files.vagrantup.com/precise64.box"
config
.
vm
.
network
:private_network
,
ip:
"192.168.33.10"
config
.
vm
.
provider
:virtualbox
do
|
vb
|
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
MEMORY
.
to_s
]
# You can adjust this to the amount of CPUs your system has available
vb
.
customize
[
"modifyvm"
,
:id
,
"--cpus"
,
CPU_COUNT
.
to_s
]
end
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
.
inventory_file
=
"../../playbooks/vagrant/inventory.ini"
ansible
.
extra_vars
=
{
secure_dir:
"secure_example"
}
ansible
.
verbose
=
true
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